Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #37.0K
~806 People Reached
Favorite Forums
Favorite Tags
java x 2
c x 2
c++ x 1

4 Posted Topics

Member Avatar for Sukhbir

[QUOTE=Sukhbir]void main() { fork(); fork(); printf("main"); } pls explain me what is the output. how it comes.[/QUOTE] Its output will be mainmainmain.The reason behind this is that whenever we call fork a new process is created.The PC points(in the new process) to the instruction after the fork.So we can say …

Member Avatar for replytoshshir
0
215
Member Avatar for tablet

Description: C program to test text file reading. #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #define CR 13 /* Decimal code of Carriage Return char */ #define LF 10 /* Decimal code of Line Feed char */ #define EOF_MARKER 26 /* Decimal code of DOS end-of-file marker */ #define …

Member Avatar for tigerxx
0
233
Member Avatar for mkas82
Member Avatar for damionspencer

letterTemplate.open("letterTemplate"); letterTemplate.close(); letterTemplate is of type [B]string [/B].Do it have open and close methods?

Member Avatar for soniprafull
0
182

The End.