#include<stdio.h>
main()
{
char s1[]="Ramco";
char s2[]="Systems";
s1=s2;
printf("%s",s1);
}
Find the output
Answer Posted / ankit garg
it will give an error bcoz here we do not give the header
file for string ( #include<string.h>) ... and we can not
use the string without it....
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
How can you return multiple values from a function?
using only #include
Write a code to determine the total number of stops an elevator would take to serve N number of people.
What is pragma in c?
What is the difference between array and linked list in c?
What are the different types of endless loops?
Explain is it valid to address one element beyond the end of an array?
What is the use of #include in c?
Explain what is the benefit of using const for declaring constants?
What does *p++ do? What does it point to?
What is sizeof array?
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
How can you tell whether two strings are the same?
Stimulate calculator using Switch-case-default statement for two numbers
Why do we use stdio h and conio h?