Why does everyone say not to use scanf? What should I use instead?


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

Post New Answer

More C Interview Questions

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

6 Answers   Honeywell, TCS,


The file stdio.h, what does it contain?

0 Answers  


how is the examination pattern?

0 Answers   Wipro,


Write a program that takes a 5 digit number and calculates 2 power that number and prints it

7 Answers  


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,






though sbi was nationalized why its not comes under nationalized banks and its comes under publicsector banks

3 Answers   State Bank Of India SBI,


main() { FILE *fs; char c[10]; fs = fopen(“source.txt”, ”r”); /* source.txt exists and contains “Vector Institute” */ fseek(fs,0,SEEK_END); fseek(fs,-3L,SEEK_CUR); fgets(c,5,fs); puts(c); }

1 Answers   Vector,


What is the mean of function?

0 Answers  


What is the output of the program given below #include<stdio.h> main() { char i=0; for(;i>=0;i++) ; printf("%d\n",i); }

21 Answers   ADITI, Student, TCS,


What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

0 Answers   Aspire, Infogain,


Difference between MAC vs. IP Addressing

0 Answers  


Tell us the difference between these two : #include"stdio.h" #include<stdio.h> define in detial.

5 Answers  


Categories