Are local variables initialized to zero by default in c?


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

Post New Answer

More C Interview Questions

Explain Function Pointer?

0 Answers   Wipro,


What are dangling pointers in c?

0 Answers  


What is the output of the following progarm? #include<stdio.h> main( ) { int x,y=10; x=4; y=fact(x); printf(“%d\n”,y); } unsigned int fact(int x) { return(x*fact(x-1)); } A. 24 B. 10 C. 4 D. none

2 Answers  


A array contains dissimilar element how can we count, and A array contains dissimilar element how can we store in another array with out repetition.

4 Answers  


Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]

0 Answers  


What would be an example of a structure analogous to structure c?

0 Answers  


What should malloc() do?

0 Answers  


What is pointers in c with example?

0 Answers  


Why malloc is faster than calloc?

0 Answers  


Name the language in which the compiler of "c" in written?

3 Answers   Bajaj,


4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.

0 Answers   TCS,


What is array of pointers to string?

0 Answers  


Categories