Answer Posted / ektasingh
main is not user defined.(user defined functions can have
any name )
main is not inbuilt.(it has not been defined in any library)
what is main????
Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
Why C language is a procedural language?
What is pointers in c with example?
Is main is user defined function?
What does printf does?
Explain that why C is procedural?
How do I determine whether a character is numeric, alphabetic, and so on?
Explain what are preprocessor directives?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
What is main () in c?
What is %d called in c?
Write a C program linear.c that creates a sequence of
processes with a given length. By
sequence it is meant that each created process has exactly
one child.
Let's look at some example outputs for the program.
Here the entire process sequence consists of process 18181:
Sara@dell:~/OSSS$ ./linear 1
Creating process sequence of length 1.
18181 begins the sequence.
An example for a sequence of length three:
Sara@dell:~/OSSS$ ./linear 3
Creating process sequence of length 3.
18233 begins the sequence.
18234 is child of 18233
18235 is child of 18234
........ this is coad .... BUt i could not compleate it .....:(
#include
Why is #define used?
What is getch () for?
How do I get a null pointer in my programs?
What is the use of bitwise operator?