main()
{
int i = 1;
int num[] = {1,2,3,4};
num[i] = i++;
printf("%d", num[i]);
}
what will be the output?
}
Answer Posted / raju
correct answer is 2 bcz once assign only that will take as
that value
| Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
What is the code in while loop that returns the output of given code?
Is printf a keyword?
What are the types of variables in c?
What is a static variable in c?
Can you write a programmer for FACTORIAL using recursion?
What is a c token and types of c tokens?
Are there constructors in c?
How to write a code for implementing my own printf() and
scanf().... Please hep me in this... I need a guidance...
Can you give an coding for c... Please also explain about
the header files used other than #include
What are static variables in c?
What is c language & why it is used?
What is the auto keyword good for?
Difference between Shallow copy and Deep copy?
What is the difference between procedural and declarative language?
How do I create a directory? How do I remove a directory (and its contents)?