what is the diff b/w static and non static variables in C.
Give some examples plz.
Answer Posted / parth ujenia
main()
{
int i=5;
while(i!=0)
{
printf("%d",i--);
main();
}
getch();
}
output: 54321
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..
Explain how do you determine the length of a string value that was stored in a variable?
Explain goto?
Why do we use & in c?
application attempts to perform an operation?
Why c is called free form language?
What kind of structure is a house?
Explain how can you avoid including a header more than once?
What is the purpose of macro in C language?
why do some people write if(0 == x) instead of if(x == 0)?
Explain what is the general form of a c program?
Explain what is a program flowchart and explain how does it help in writing a program?
How old is c programming language?
Explain what is wrong in this statement?
What is the deal on sprintf_s return value?