Why static is used in c?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

void main() {int i=2; printf("%d%d%d",i,++i,i++); getch(); }

9 Answers  


a=0; while(a<5) printf("%d\n",a++); how many times does the loop occurs? a.infinite b.5 c.4 d.6

7 Answers   TCS,


How to add two numbers without using semicolon n c????

3 Answers  


Is main() function predfined or userdefined?

11 Answers  


What are the advantages and disadvantages of a heap?

0 Answers  






to get a line of text and count the number of vowels in it

3 Answers   Satyam,


What are the various topologies? Which one is the most secure?

2 Answers  


What is file in c preprocessor?

0 Answers  


write a program to arrange the contents of a 1D array in ascending order

4 Answers  


Write a program to find the number of times that a given word(i.e. a short string) occurs in a sentence (i.e. a long string!). Read data from standard input. The first line is a single word, which is followed by general text on the second line. Read both up to a newline character, and insert a terminating null before processing. Typical output should be: The word is "the". The sentence is "the cat sat on the mat". The word occurs 2 times.

0 Answers  


Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers

0 Answers  


In header files whether functions are declared or defined?

1 Answers   TCS,


Categories