just given a basic psudocode
On Sun, Oct 2, 2011 at 11:11 PM, Hatta wrote:
> what is 'print'?
> there's no such thing in C.
>
>
> On Sun, Oct 2, 2011 at 4:49 AM, rahul sharma
> wrote:
> > main()
> > {
> > int pid;
> > pid=fork();
> > if(pid==0)
> > {
> > print child;
> > print("...",getpid());
what is 'print'?
there's no such thing in C.
On Sun, Oct 2, 2011 at 4:49 AM, rahul sharma wrote:
> main()
> {
> int pid;
> pid=fork();
> if(pid==0)
> {
> print child;
> print("...",getpid());
> }
> else
> {
> print print;
> print("...",getpid());
> }
>
> --
> You received this message because yo
main()
{
int pid;
pid=fork();
if(pid==0)
{
print child;
print("...",getpid());
}
else
{
print print;
print("...",getpid());
}
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To
head -10 as.c | tail -6
Sample O/P
r...@hp-laptop:~/ds# *cat as.c*
#include
int main()
{
char a;
int b;
short c;
double d;
clrscr();
a=b=0;
c=d=1;
a++;--b;c++;--d;
printf("%p,%p,%p,%p",a,b,c,d);
}
r...@hp-laptop:~/ds# *head -10 as.c | tail -6*
How to get line no. 5 to line no. 10 only from a file.. using tail
or head command.?
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to algoge...@googlegroups.com.
To unsubscribe from this group, send email