Can you define which header file to include at compile time?
No Answer is Posted For this Question
Be the First to Post Answer
Is javascript based on c?
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 are the static variables
8 Answers HCL, iFlex, TCS, Wipro,
Define circular linked list.
how to generate the length of a string without using len funtion?
Write a program to print distinct words in an input along with their count in input in decreasing order of their count..
which of the function operator cannot be over loaded a) <= b)?: c)== d)*
10 Answers Cisco, CTS, Google, HCL, HP,
any "C" function by default returns an a) int value b) float value c) char value d) a & b
What do you know about the use of bit field?
What will be printed as the result of the operation below: #include<..> int x; int modifyvalue() { return(x+=10); } int changevalue(int x) { return(x+=1); } void main() { int x=10; x++; changevalue(x); x++; modifyvalue(); printf("First output:%d\n",x); x++; changevalue(x); printf("Second output:%d\n",x); modifyvalue(); printf("Third output:%d\n",x); }
how to set Nth bit of a variable?
Explain low-order bytes.