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 |
Explain the importance and use of each component of this string: Foo.Bar, Version=2.0.205.0, Culture=neutral, PublicKeyToken=593777ae2d274679d
WRITE A PROGRAM TO PRINT THE FOLLOWING OUTPUTS USING FOR LOOPS. A) * B) ***** *** * * ***** * * *****
Are local variables initialized to zero by default in c?
What is difference between Structure and Unions?
write a program that will print %d in the output screen??
WHAT IS C?
Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant
What standard functions are available to manipulate strings?
Q. where is the below variables stored ? - volatile, static, register
You have an int array with n elements and a structure with three int members. ie struct No { unsigned int no1; unsigned int no2; unsigned int no3; }; Point1.Lets say 1 byte in the array element is represented like this - 1st 3 bits from LSB is one number, next 2 bits are 2nd no and last 3 bits are 3rd no. Now write a function, struct No* ExtractNos(unsigned int *, int count) which extracts each byte from array and converts LSByte in the order mentioned in point1.and save it the structure no1, no2, no3. in the function struct No* ExtractNos(unsigned int *, int count), first parameter points to the base address of array and second parameter says the no of elements in the array. For example: if your array LSB is Hex F7 then result no1 = 7, no2 = 2, no3 = 7. In the same way convert all the elements from the array and save the result in array of structure.
what is the advantage of software development
What is function in c with example?