What is difference between scanf and gets?


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

Post New Answer

More C Interview Questions

code for quick sort?

0 Answers  


Explain what is the purpose of "extern" keyword in a function declaration?

0 Answers  


What is #pragma directive?how it is used in the program? what is its advantages and disadvantages?

2 Answers  


send me the code of flow chart generator using C-programming language amd this code should calculate the time and space complexity of the given progran and able to generate flowchart according to the given program?

0 Answers   TCS,


What are conditional operators in C?

0 Answers   Adobe,






What will be the result of the following program? char*g() { static char x[1024]; return x; } main() { char*g1="First String"; strcpy(g(),g1); g1=g(); strcpy(g1,"Second String"); printf("Answer is:%s", g()); } (A) Answer is: First String (B) Answer is: Second String (C) Run time Error/Core Dump (D) None of these

2 Answers   Oracle,


Where are c variables stored in memory?

0 Answers  


What is auto keyword in c?

0 Answers  


Why & is used in c?

0 Answers  


what is volatile in c language?

9 Answers   Cap Gemini, HCL, Honeywell, TCS, Tech Mahindra,


Given an unsigned integer, find if the number is power of 2?

5 Answers  


Explain what is gets() function?

0 Answers  


Categories