main()
{
int i=400,j=300;
printf("%d..%d");
}
Answers were Sorted based on User's Feedback
Answer / muthu
It prints only garbage value, since the variables x and y
were not metioned out side the bracket
| Is This Answer Correct ? | 0 Yes | 3 No |
Answer:
400 300
printf takes first two intilization values as default
| Is This Answer Correct ? | 2 Yes | 9 No |
Explain what are bus errors, memory faults, and core dumps?
what is memory leak?
1)what is the error in the following stmt where str is a char array and the stmt is supposed to traverse through the whole character string str? for(i=0;str[i];i++) a)There is no error. b)There shud be no ; after the stmt. c)The cond shud be str[i]!='\0' d)The cond shud be str[i]!=NULL e)i shud be initialized to 1
What is structure in c language?
#include<stdio.h> int main( ) { Int a=300, b, c; if(a>=400) b=300; c=200; printf(“%d%d ”, b, c); return0; }
what are the static variables
8 Answers HCL, iFlex, TCS, Wipro,
What is the difference between union and structure in c?
How do we print only part of a string in c?
What is union and structure?
What is abstract data structure in c?
I need a sort of an approximate strcmp routine?
how to find out the biggest element (or any other operation) in an array which is dynamic. User need not to mention the array size while executing.