#include<stdio.h>
void main()
{
int =1;
printf("%d%d%d",a++,++a,++a);
}
Answer Posted / stephen john
i got the answer is 3,4,4.
why?
| Is This Answer Correct ? | 4 Yes | 6 No |
Post New Answer View All Answers
What is the correct declaration of main?
write a program to find out prime number using sieve case?
What is the difference between functions abs() and fabs()?
Explain how many levels deep can include files be nested?
What is d'n in c?
Explain what is the benefit of using an enum rather than a #define constant?
Explain what are global variables and explain how do you declare them?
What is the advantage of an array over individual variables?
Write the test cases for checking a variable having value in range -10.0 to +10.0?
Can you please compare array with pointer?
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
Explain the difference between malloc() and calloc() function?
How can variables be characterized?
design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.
What is calloc malloc realloc in c?