What is the use of the #include directive?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
The #include directive is used to include header files in a program. For example, #include<stdio.h> includes the standard input-output library.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
The #include directive is used to include header files in a program. For example, #include<stdio.h> includes the standard input-output library.
| Is This Answer Correct ? | 0 Yes | 0 No |
The #include directive is used to include header files in a program. For example, #include<stdio.h> includes the standard input-output library.
| Is This Answer Correct ? | 0 Yes | 0 No |
pgm to find middle element of linklist(in efficent manner)
consider the following structure: struct num nam{ int no; char name[25]; }; struct num nam n1[]={{12,"Fred"},{15,"Martin"},{8,"Peter"},{11,Nicholas"}}; ..... ..... printf("%d%d",n1[2],no,(*(n1 + 2),no) + 1); What does the above statement print? a.8,9 b.9,9 c.8,8 d.8,unpredictable value
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
What is hash table in c?
What does the error 'Null Pointer Assignment' mean and what causes this error?
enum colors {BLACK,BLUE,GREEN} main() { printf("%d..%d..%d",BLACK,BLUE,GREEN); return(1); }
what is the output of the following program? #include<stdio.h> void main() { float x=1.1; while(x==1.1) { printf("\n%f",x); x=x-0.1; } }
Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80
Evaluate the following: int fn(int v) { if(v==1 || v==0) return 1; if(v%2==0) return fn(v/2)+2; else return fn(v-1)+3; } for fn(7); 1) 10 2) 11 3) 1
write a program to find lcm and hcf of two numbers??
What is call by reference in functions?
Why flag is used in c?