#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
Explain the Difference between the New and Malloc keyword.
In c programming language, how many parameters can be passed to a function ?
What is sorting in c plus plus?
Is calloc better than malloc?
why return type of main is not necessary in linux
Is printf a keyword?
Explain what is operator promotion?
What are pointers? Why are they used?
What is nested structure?
What is "Duff's Device"?
Why we use break in c?
What is structure padding in c?
In which header file is the null macro defined?
writ a program to compare using strcmp VIVA and viva with its output.
Can we change the value of static variable in c?