main()
{
int i = 1;
int num[] = {1,2,3,4};
num[i] = i++;
printf("%d", num[i]);
}
what will be the output?
}
Answer Posted / lucky
out put is 3 and it is correct
| Is This Answer Correct ? | 18 Yes | 3 No |
Post New Answer View All Answers
how we can make 3d venturing graphics on outer interface
Write a simple code fragment that will check if a number is positive or negative.
What is atoi and atof in c?
In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?
What is a ternary operator in c?
What is double pointer?
What is the difference between c &c++?
What are categories used for in c?
What is a shell structure examples?
What are the features of the c language?
What is the size of array float a(10)?
What is the difference between test design and test case design?
What do you mean by a local block?
What are valid signatures for the Main function?
How will you write a code for accessing the length of an array without assigning it to another variable?