main()
{
printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3));
}
wat is the o/p and how?
Answer Posted / manik
1 2 4
| Is This Answer Correct ? | 9 Yes | 20 No |
Post New Answer View All Answers
How many levels of indirection in pointers can you have in a single declaration?
How can I dynamically allocate arrays?
Explain how do you print only part of a string?
If I have a char * variable pointing to the name of a function ..
Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.
What is the difference between char array and char pointer?
Why is this loop always executing once?
Distinguish between actual and formal arguments.
What are pointers in C? Give an example where to illustrate their significance.
Difference between Shallow copy and Deep copy?
Why array is used in c?
How are variables declared in c?
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 c standard library?
Why n++ execute faster than n+1 ?