#include<stdio.h>
main()
{
char s1[]="Ramco";
char s2[]="Systems";
s1=s2;
printf("%s",s1);
}

what will happen if you executed this code?

Answer Posted / mannucse

syste

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c pass by value or reference?

583


What is the value of h?

574


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

2534


Why should I prototype a function?

624


How can you invoke another program from within a C program?

607






What is the advantage of c?

600


How can I recover the file name given an open stream or file descriptor?

582


What is merge sort in c?

630


Why do we write return 0 in c?

539


Are the outer parentheses in return statements really optional?

562


Why void is used in c?

554


write a c program to calculate sum of digits till it reduces to a single digit using recursion

2703


What is typedf?

657


Why is a semicolon (;) put at the end of every program statement?

609


code for replace tabs with equivalent number of blanks

1625