why do some people write if(0 == x) instead of if(x == 0)?
No Answer is Posted For this Question
Be the First to Post Answer
char ch="{'H','I',0};printf("%s",ch);what is output
Write the Program to reverse a string using pointers.
What is the difference between a free-standing and a hosted environment?
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
In a switch statement, what will happen if a break statement is omitted?
What is a buffer in c?
Find the O/p of the following 1) #include int main() { char c='1'; int j=atoi(c); }
write a program that eliminates the value of mathematical constant e by using the formula e=1+1/1!+1/2!+1/3!+
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
What is the difference between procedural and functional programming?
program in c to print 1 to 100 without using loop
Difference between Function to pointer and pointer to function