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 / hussain reddy
c
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What does %c mean in c?
How can you tell whether a program was compiled using c versus c++?
Why is c called c?
c program to compute AREA under integral
What is a spanning Tree?
Are there constructors in c?
What is a c token and types of c tokens?
Is it better to use a macro or a function?
Explain the priority queues?
can we have joblib in a proc ?
A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile
What are pointers really good for, anyway?
write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
Explain what is wrong with this program statement? Void = 10;