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
What are header files in c programming?
Is null equal to 0 in sql?
What is the difference between volatile and const volatile?
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
Why c is faster than c++?
Can we declare function inside main?
Can we initialize extern variable in c?
What is difference between Structure and Unions?
In which language linux is written?
can we have joblib in a proc ?
What is scanf () in c?
What do you mean by command line argument?
What is the difference between struct and typedef struct in c?
What is c language and why we use it?
What is pointer & why it is used?