What is the output of the following program
#include<stdio.h>
main()
{
int i=0;
fork();
printf("%d",i++);
fork();
printf("%d",i++);
fork();
wait();
}
Answer Posted / vignesh1988i
01 finally i will have 2
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
Is this program statement valid? INT = 10.50;
On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area
For what purpose null pointer used?
What are disadvantages of C language.
How do you initialize pointer variables?
Can we access the array using a pointer in c language?
How can type-insensitive macros be created?
What is table lookup in c?
provide an example of the Group by clause, when would you use this clause
What are identifiers in c?
Explain how do you print only part of a string?
write a progrmm in c language take user interface generate table using for loop?
How can I read data from data files with particular formats?
Explain how do you declare an array that will hold more than 64kb of data?
Explain what is operator promotion?