12. 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
Answer Posted / fakkad
2
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How can you draw circles in C?
What is a pointer on a pointer in c programming language?
What is dangling pointer in c?
How do I determine whether a character is numeric, alphabetic, and so on?
a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none
what is the significance of static storage class specifier?
What is the -> in c?
Can a pointer be volatile in c?
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.
Explain what is the stack?
What are the c keywords?
int far *near * p; means
Write a program to print "hello world" without using a semicolon?
In a byte, what is the maximum decimal number that you can accommodate?
Describe dynamic data structure in c programming language?