Why is it important to memset a variable, immediately after
allocating memory to it ?


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

Post New Answer

More C Interview Questions

The __________ attribute is used to announce variables based on definitions of columns in a table?

0 Answers  


Explain why c is faster than c++?

0 Answers  


#include<stdio.h> main() { int a[3]; int *I; a[0]=100;a[1]=200;a[2]=300; I=a; Printf(“%d\n”, ++*I); Printf(“%d\n”, *++I); Printf(“%d\n”, (*I)--); Printf(“%d\n”, *I); } what is the o/p a. 101,200,200,199 b. 200,201,201,100 c. 101,200,199,199 d. 200,300

4 Answers   Tieto,


how the compiler treats any volatile variable?Explain with example.

1 Answers   Tata Elxsi,


What is the use of parallelize in spark?

0 Answers  






What is c language & why it is used?

0 Answers  


What is the use of ?

0 Answers  


Write a program to print all permutations of a given string.

0 Answers   JPMorgan Chase,


Write a program to print fibonacci series without using recursion?

0 Answers  


what is a non volatile key word in c language?

1 Answers  


FIND THE OUTPUT IF THE INPUT IS 5 5.75 void main() { int i=1; float f=2.25; scanf("%d%f",&i,&f); printf("%d %f",,i,f); } ANSWER IS 5 AND 2.25 WHY?

4 Answers   Wipro,


explain what is a newline escape sequence?

0 Answers  


Categories