What is output of the following program ?
main()
{
i = 1;
printf("%d %d %d\n",i,i++,i++);
}
Answer Posted / guest
error exist due to nat declaring datatype for i
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9
Can we change the value of constant variable in c?
What are the types of pointers?
What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
how can use subset in c program and give more example
Is null always defined as 0(zero)?
write a program to print largest number of each row of a 2D array
Write a code to determine the total number of stops an elevator would take to serve N number of people.
What is meant by errors and debugging?
How can I do serial ("comm") port I/O?
What is the purpose of 'register' keyword in c language?
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
When the macros gets expanded?
Explain is it valid to address one element beyond the end of an array?