Look at the Code:
main()
{
int a[]={1,2,3},i;
for(i=0;i<3;i++)
{
printf("%d",*a);
a++;
}
}
Which Statement is/are True w.r.t the above code?
I.Executes Successfully & Prints the contents of the array
II.Gives the Error:Lvalue Required
III.The address of the array should not be changed
IV.None of the Above.
A)Only I B)Only II C)II & III D)IV
Answers were Sorted based on User's Feedback
What are local and global variables?
Difference between macros and inline functions? Can a function be forced as inline?
0 Answers HAL, Honeywell, Zomato,
read a number & print all its devisors using c-program?
What is the difference between class and object in c?
WHAT IS FLOAT?
cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration
Process by which one bit pattern in to another by bit wise operation is?
write an algorithm and a program to count the number of elements in a circularly singly linked list
Write a program to print distinct words in an input along with their count in input in decreasing order of their count..
How can you read a directory in a C program?
Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me
Can you add pointers together? Why would you?