#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 / guest

error wud pop up because u cannot assign arrats or strings
to one another

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What was noalias and what ever happened to it?

784


What is the advantage of a random access file?

876


What do you mean by a local block?

835


To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9

2437


What are the types of pointers in c?

742


In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.

2892


How many parameters should a function have?

878


How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?

16047


If you know then define #pragma?

873


What is the difference between call by value and call by reference in c?

894


Dont ansi function prototypes render lint obsolete?

820


What are nested functions in c?

784


Write a program to generate the Fibinocci Series

878


which is an algorithm for sorting in a growing Lexicographic order

1590


Explain the difference between ++u and u++?

841