Program will then find the largest of three numbers using nested if-else statements.
User is prompted to enter three numbers.
Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed.
If user enters 21, 33, and 5, the output should be as follows:
You entered: 21, 33 and 5. The largest number is 33.
the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?
Is main() is used in the program,,see below example? void main() { int i; for(i=0;i<10;i++) main(); } Then what is the output of the program?
actually i have 2 years teaching experience as computer faculty but now i am a DBA but when i go for interview many peoples asked me why i left my teaching profession and why i want to come in this field kindly give me the proper answer of this queston
Study the Following Points: a.One Cannot Take the address of a Bit Field b.bit fields cannot be arrayed c.Bit-Fields are machine Dependant d.Bit-fields cannot be declared as static 1. Which of the Following Statements are true w.r.t Bit- Fields A)a,b&c B)Only a & b C)Only c D)All
What is the use of f in c?
Write a C program that computes the value ex by using the formula ex =1+x/1!+x2/2!+x3+3!+………….
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0
write a c program to add two integer numbers without using arithmetic operator +
What is the difference between a structure and a union?
Why do we use & in c?
Explain what is the stack?
What is the use of sizeof () in c?