Predict the output of below program:
#include int main(){ int arr[5]; // Assume that base address of arr is 2000 and size of integer // is 32 bit arr++; printf("%u", arr); return 0;} Answer: l-Value required.Array name in C is implemented by a constant pointer. It is not possible to apply increment and decrement on constant types. 
Comments
Post a Comment