main()
{
int i = 1;
int num[] = {1,2,3,4};
num[i] = i++;
printf("%d", num[i]);
}
what will be the output?
}
Answer Posted / lukz
4 is output
Is This Answer Correct ? | 2 Yes | 7 No |
Post New Answer View All Answers
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
What is the size of structure in c?
Do you know what are bitwise shift operators in c programming?
Write a program in c to replace any vowel in a string with z?
What are the advantages of Macro over function?
Explain what are preprocessor directives?
What is the purpose of void in c?
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
How can I do serial ("comm") port I/O?
What is the general form of a C program?
What are different types of variables in c?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures
Explain what happens if you free a pointer twice?
What is huge pointer in c?
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?