main()
{
int i;
printf("%d",scanf"%d",&i))//if the input is 12 24 34 then
wat will be the output
}
Answers were Sorted based on User's Feedback
Answer / babu ba
1
bcoz it counts number of time the scanf fun access the user I/Ps
| Is This Answer Correct ? | 2 Yes | 1 No |
How can you call a function, given its name as a string?
What are identifiers c?
What are the types of type specifiers?
What is indirection?
What are Macros? What are its advantages and disadvantages?
why do we use pointer instead directly acessing the data?
What are 3 types of structures?
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
How can you print HELLO WORLD without using "semicolon"?
Why malloc is faster than calloc?
main() { int a,b; printf("%d,%d",scanf("%d%d",&a,&b)); } => do u mean above program's output... =>output will be:2,whatever you enter value for b. =>because scanf is a library fn which will return how many arguements it processes, and second value you are right mr.Satya but i found my self unable to understand that for the first time scanf returns the no of successful matches but how for the second time it returns the value of 'b'.while a function should return the same 'r' value every time.
1.)how to find d most repeated word in a string? string ="how do you do"?? output should be do
1 Answers AAS, Nagarro, Vuram,