what is the diff between the printf and sprintf functions??
and what is the syntax for this two functions ??
Answer Posted / guest
printf statement print the result with comment
sprintf statement print the string
Syntax
printf(" ");
sprintf(object name[argument]);
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What is calloc malloc realloc in c?
Is it acceptable to declare/define a variable in a c header?
Explain what is the difference between null and nul?
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
What is equivalent to ++i+++j?
The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration
What are operators in c?
How does struct work in c?
What’s a signal? Explain what do I use signals for?
Why do we need functions in c?
Explain how can I make sure that my program is the only one accessing a file?
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
Why is sprintf unsafe?
how many key words availabel in c a) 28 b) 31 c) 32
Can the curly brackets { } be used to enclose a single line of code?