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
Answers were Sorted based on User's Feedback
Why is c called c not d or e?
how to execute with out main in cprogram
Explain what is a program flowchart and explain how does it help in writing a program?
what is the diff between the printf and sprintf functions?? and what is the syntax for this two functions ??
Place the #include statement must be written in the program?
what will be the output of this program main() { int i=1; while (i<=10); { i++; } }
What is meant by recursion?
i have a written test in tomorrow
What are # preprocessor operator in c?
int *a[5] refers to
Can you explain what keyboard debouncing is, and where and why we us it? please give some examples
Simplify the program segment if X = B then C ← true else C ← false