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
Why c is called top down?
How is = symbol different from == symbol in c programming?
How can you check to see whether a symbol is defined?
What is the general form of #line preprocessor?
How many header files are in c?
What are linked lists in c?
Why do we write return 0 in c?
What is line in c preprocessor?
What are reserved words with a programming language?
What is a struct c#?
When we use void main and int main?
What is the most efficient way to store flag values?
HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????
In c programming language, how many parameters can be passed to a function ?
What is the newline escape sequence?