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

why integer range between -327680to+32767

2 Answers  


how can u print a message without using any library function in c

1 Answers   NIIT,


Struct(s) { int a; long b; } Union (u) {int a; long b; } Print sizeof(s)and sizeof(u) if sizeof(int)=4 and sizeof(long)=4

2 Answers   Mascot,


Write a C/C++ program that connects to a MySQL server and displays the global TIMEZONE.

0 Answers  


Find if a number is power of two or not?

1 Answers  


Study the code: void show() main() { show(); } void show (char *s) { printf("%sn",s); } What will happen if it is compiled & run on an ANSI C Compiler? A)It will compile & nothing will be printed when it is executed B)it will compile but not link C)the compiler will generate an error D)the compiler will generate a warning

4 Answers   Accenture,


Explain the difference between strcpy() and memcpy() function?

0 Answers  


Write a C function to search a number in the given list of numbers. donot use printf and scanf

6 Answers   Honeywell, TCS,


how many errors in c explain deply

0 Answers  


How do you define structure?

0 Answers  


write a program whose output will be- 1 12 123 1234

10 Answers  


How can a process change an environment variable in its caller?

0 Answers  


Categories