Answer Posted / parmjeet kumar
#include<stdio.h>
#include<conio.h>
void main()
{
char a[50];
printf("enter the string:");
scanf("%s",&a);
printf("%s",a);
getch();
}
| Is This Answer Correct ? | 0 Yes | 10 No |
Post New Answer View All Answers
What is a buffer in c?
Explain how can you determine the size of an allocated portion of memory?
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
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
Can we declare a function inside a function in c?
What is c programming structure?
What is static memory allocation?
What is the scope of an external variable in c?
Explain how do you list a file’s date and time?
What is else if ladder?
Why isnt any of this standardized in c?
How do you do dynamic memory allocation in C applications?
How can I change their mode to binary?
Explain why c is faster than c++?
What is sizeof int?