main()
{
int i = 1;
int num[] = {1,2,3,4};
num[i] = i++;
printf("%d", num[i]);
}
what will be the output?
}
Answer Posted / abdur rab
it will lead to Undefined behaviour, both answers 3 aand 4
are correct.
| Is This Answer Correct ? | 0 Yes | 5 No |
Post New Answer View All Answers
What are the rules for the identifier?
What is c language used for?
When c language was developed?
What is difference between array and pointer in c?
What are predefined functions in c?
What is structure in c definition?
Do character constants represent numerical values?
What is bash c?
Why clrscr is used in c?
What is typedef?
Is c object oriented?
Explain modulus operator. What are the restrictions of a modulus operator?
Explain what is the general form of a c program?
What is a spanning Tree?
What is a static variable in c?