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



main() { int i; printf("%d",scanf"%d",&i))//if the input is 12 24 34 then..

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

main() { int i; printf("%d",scanf"%d",&i))//if the input is 12 24 34 then..

Answer / hema

#1
how it is?

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

What are reserved words?

0 Answers  


What are the uses of pre-processor directives?

2 Answers  


what does keyword ‘extern’ mean in a function declaration?

1 Answers   Emerson,


What is a pointer value and address in c?

0 Answers  


Explain how are 16- and 32-bit numbers stored?

0 Answers  






write the program for maximum of the following numbers? 122,198,290,71,143,325,98

5 Answers  


A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?

0 Answers  


Determine the code below, tell me exactly how many times is the operation sum++ performed ? for ( i = 0; i < 100; i++ ) for ( j = 100; j > 100 - i; j--) sum++;

5 Answers   ITCO, Wipro,


Describe for loop and write a c program to sum the series X + x2/2! + x3 /3! + …….. up to fifteen terms.

2 Answers  


write a program to display all prime numbers

0 Answers  


Which is best book for data structures in c?

0 Answers  


What is adt in c programming?

0 Answers  


Categories