Out of fgets() and gets() which function is safe to use and why?


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

Post New Answer

More C++ General Interview Questions

What is a literal in c++?

0 Answers  


What are the difference between reference variables and pointers in C++?

1 Answers  


Explain the difference between c & c++?

0 Answers  


Can a class be static in c++?

0 Answers  


Why should we use null or zero in a program?

0 Answers  






What are the differences between the function prototype and the function defi-nition?

0 Answers  


Explain queue. How it can be implemented?

0 Answers  


what is the difference between overloading & overriding? give example.

0 Answers  


What sorting algorithm does c++ use?

0 Answers  


Can you Mention some Application of C/C++?

0 Answers  


write asingle linked list which read from two list & the do the following 1 sort the prime & nonprime num (prime should be less tn nonprime) 2 each node has a prime num followd by nonprime 3 add a new node into its sutable plce 4 erase the most three duplicated non prime num 5 find the least duplicated prime num

0 Answers   Care,


Write a function to find the nth item from the end of a linked list in a single pass.

0 Answers   Huawei,


Categories