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 / jitendra kumar arya
c
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is the acronym for ansi?
Define Spanning-Tree Protocol (STP)
What is merge sort in c?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
What is static identifier?
What are the c keywords?
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
What is a keyword?
how is the examination pattern?
When a c file is executed there are many files that are automatically opened what are they files?
What is an array? What the different types of arrays in c?
What is local and global variable in c?
Explain high-order bytes.
Write a simple code fragment that will check if a number is positive or negative.
how to create duplicate link list using C???