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 / rohit
B
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
how to find anagram without using string functions using only loops in c programming
Write a code of a general series where the next element is the sum of last k terms.
What are the properties of union in c?
Explain bit masking in c?
What are the different types of control structures?
Explain what are binary trees?
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
What is the c value paradox and how is it explained?
What is a scope resolution operator in c?
Explain the ternary tree?
Are global variables static in c?
What is the use of extern in c?
formula to convert 2500mmh2o into m3/hr
Why isnt there a numbered, multi-level break statement to break out
In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping