What should not contain a header file?
Answers were Sorted based on User's Feedback
Answer / laxman
header file should contain only declarations and structure
templates.It should not contain function definitions.
| Is This Answer Correct ? | 8 Yes | 3 No |
Answer / ada
Head file should not contain defining instances of global
variables and function bodies.
| Is This Answer Correct ? | 1 Yes | 1 No |
get any number as input except 1 and the output will be 1.without using operators,expressions,array,structure.don't print 1 in printf statement
How can you find out how much memory is available?
read the folllowing code # define MAX 100 # define MIN 100 .... .... if(x>MAX) x=1; else if(x<MIN) x=-1; x=50; if the initial value of x=200,what is the vlaue after executing this code? a.200 b.1 c.-1 d.50
What do you mean by dynamic memory allocation in c? What functions are used?
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
15.what is the disadvantage of using macros? 16.what is the self-referential structure? 17.can a union be self-referenced? 18.What is a pointer? 19.What is the Lvalue and Rvalue? 20.what is the difference between these initializations? 21.Char a[]=”string”; 22.Char *p=”literal”; 23.Does *p++ increment p, or what it points to?
differnce between do and do while
Explain how do you sort filenames in a directory?
What is realloc in c?
Explain why C language is procedural?
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
How will you allocate memory to a double pointer ?