what are the static variables
Answer Posted / subha raman
I have a doubt..what is the difference between.."static"
and "constant(const)"??
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
How many types of errors are there in c language? Explain
What is string constants?
What are multibyte characters?
GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
What does the format %10.2 mean when included in a printf statement?
What are categories used for in c?
Why clrscr is used in c?
I came across some code that puts a (void) cast before each call to printf. Why?
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
Explain bitwise shift operators?
What is the difference between array and pointer?
What does the function toupper() do?
Is c programming hard?