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
program for comparing 2 strings without strcmp()
Output for following program using for loop only * * * * * * * * * * * * * * *
What are the advantages of using Unions?
WHAT IS C?
What is a c token and types of c tokens?
program to find the ASCII value of a number
What is context in c?
count the numbers between 100 and 300, that star with 2 and ends with 2
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?
Differentiate between static and dynamic modeling.
what does keyword ‘extern’ mean in a function declaration?
code for replace tabs with equivalent number of blanks