int a=0,b=2;
if (a=0)
b=0;
else
b=*10;
What is the value of b ?
Answer Posted / sandeep kumar
if (a=0)
is a wrong statement.
Since it should be
if (a==0)
so, it will throw an error
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80
What is static memory allocation?
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?
What is an expression?
Describe the modifier in c?
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
Explain built-in function?
Is it possible to have a function as a parameter in another function?
What is a memory leak? How to avoid it?
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..
What is the use of ?
any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above
What is the difference between procedural and functional programming?
What are control structures? What are the different types?
What is calloc() function?