what is use#in c
Answers were Sorted based on User's Feedback
# is preprocessor which tell compiler that what header
file we using in our program.
for example:
#include<stdio.h>
void main()
in the above when compiler check program it start execution
of program from main and will tell that uor header file
is "standard input output header file"
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / saurabh chakrabarty
# is used in c to write preprocessor statements (i.e. macros)
these statements are called preprocessor statements as these
statements are processed prior to the compilation of the
rest of the code by the compiler
| Is This Answer Correct ? | 1 Yes | 0 No |
What functions are used for dynamic memory allocation in c language?
O,T,T,F,F,S,S,E,N,?,?,?,T,F,F,S,S,E,N
f() { int a=2; f1(a++); } f1(int c) { printf("%d", c); } c=?
What is putchar() function?
Tell us bitwise shift operators?
what is the difference between declaration and definition of a variable or function ?
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings
We can draw a box in cprogram by using only one printf();& without using graphic.h header file?
what will the following program do? void main() { int i; char a[]="String"; char *p="New Sring"; char *Temp; Temp=a; a=malloc(strlen(p) + 1); strcpy(a,p); //Line no:9// p = malloc(strlen(Temp) + 1); strcpy(p,Temp); printf("(%s, %s)",a,p); free(p); free(a); } //Line no 15// a) Swap contents of p & a and print:(New string, string) b) Generate compilation error in line number 8 c) Generate compilation error in line number 5 d) Generate compilation error in line number 7 e) Generate compilation error in line number 1
What is the time and space complexities of merge sort and when is it preferred over quick sort?
How can I determine whether a machines byte order is big-endian or little-endian?
write a program for fibonaci series by using while loop in c?