What is the default value of local and global variables in c?


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

Post New Answer

More C Interview Questions

difference between c and c++?

2 Answers  


Write a program to print the following series 2 5 11 17 23 31 41 47 59 ...

2 Answers  


How to Clear last bit if it 1 using Macro TURN_OFF_BIT_LAST

6 Answers   Adobe, Huawei,


You have an array of n integers, randomly ordered with value 1 to n-1.The array is such that there is only one and one value occurred twice. How will you find this number?

1 Answers  


what is unsigened char and what is the difference from char

2 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  


How do you write a program which produces its own source code as output?

0 Answers  


what is the benefit of c30

2 Answers  


value = 0xabcd; for (loop = 1; (value >> 1) & 1 | loop & 1; loop++) { foo(); if (loop & 1) value >>= 1; } how many times is foo() executed?

6 Answers   Google,


What is c language & why it is used?

0 Answers  


C language questions for civil engineering

0 Answers   Tech Mahindra,


When should structures be passed by values or by references?

0 Answers   Adobe,


Categories