Does sprintf put null character?


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

Post New Answer

More C Interview Questions

How do we print only part of a string in c?

0 Answers  


Explain how do you override a defined macro?

0 Answers  


Please provide question papers of NATIONAL INFORMATICS CENTRE for Scientific officer

0 Answers  


WRITE A PROGRAM TO FIND A REVERSE OF TWO NO

7 Answers  


What does int main () mean?

0 Answers  






How do you convert strings to numbers in C?

0 Answers  


Can you please explain the difference between exit() and _exit() function?

0 Answers  


#include<stdio.h> int f(int,int); int main() { printf("%d",f(20,1)); return 0; } int f(int n,int k) { if(n==0) return 0; else if(n%2)return f(n/2,2*k)+k; else return f(n/2,2*k)-k; } how this program is working and generating output as 9....?

1 Answers  


Can the sizeof operator be used to tell the size of an array passed to a function?

0 Answers  


what is the output of the following program and explain the answer #include<stdio.h> exp() { main(5) } main(int a) { printf("%d",a); return; }

3 Answers   Satyam,


ABCDCBA ABC CBA AB BA A A

4 Answers   TCS,


Why does not c have an exponentiation operator?

0 Answers  


Categories