What is C language Terminator?
Answers were Sorted based on User's Feedback
Answer / sahadev
Actually (;) is the sentence terminater in C.So it is also
C terminater
Is This Answer Correct ? | 13 Yes | 2 No |
Answer / nayanprakash
After finishing a line we r using semicoln(;) at last to
terminate the sentencs.But remember semicolon is not using
in condition statement.
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / rajendra
Line terminator is ;(semicolon)
c longuage terminator is } (last bracket of main)
Is This Answer Correct ? | 7 Yes | 1 No |
Answer / guest
C language terminator is the closing brace ( } ) of the
main program
Is This Answer Correct ? | 7 Yes | 6 No |
wat are the two methods for swapping two numbers without using temp variable??
What is boolean in c?
Function to find the given number is a power of 2 or not?
What are identifiers in c?
What is true about the following C Functions (a) Need not return any value (b) Should always return an integer (c) Should always return a float (d) Should always return more than one value
WAP to accept basic salary of an employee? Calculate it HRA=25%,DA=30%,PF=30%&net salary display all contents?
6 Answers Finite Infotech, Lovely Professional University, Wipro,
why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above
main() { char *p1="Name"; char *p2; p2=(char *)malloc(20); while(*p2++=*p1++); printf("%s\n",p2); }
What will be result of the following program? void myalloc(char *x, int n) { x= (char *)malloc(n*sizeof(char)); memset(x,\0,n*sizeof(char)); } main() { char *g="String"; myalloc(g,20); strcpy(g,"Oldstring"); printf("The string is %s",g); } a) The string is : String b) Run time error/Core dump c) The string is : Oldstring d) Syntax error during compilation e) None of these
What is the significance of an algorithm to C programming?
Explain union.
write a C program to print the program itself ?!