what is the difference between auto and static keywords
Answer / dr. guruprasad
auto and static are both storage classes.
if a variable is declared as auto - then the life of it will be only till function block.
if static - then value persists between various function call. Life till program ends.
| Is This Answer Correct ? | 0 Yes | 0 No |
When a c file is executed there are many files that are automatically opened what are they files?
Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.
Difference between Class and Struct.
13 Answers Ericsson, Motorola, Wipro,
what is difference between declaring the pointer as int and char in c language?
What is structure in c definition?
Can you define which header file to include at compile time?
write a c program to find the square of a 5 digit number and print the result.
5 Answers Accenture, Sasken, Vimukti Technologies,
which operator is known as dummy operator in c?
What is Full Form of C and Why We use C
program to find the second largest word in a paragraph amongst all words that repeat more thn twice
#include<stdio.h> void main() { int a,b,c; a=b=c=1; c=++a || ++b && ++c; printf("%d\t%d\t%d",a,b,c); }
How many header files are in c?