#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 / ramesh
u will get error like incompatible types in assignment
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is #line?
Explain what is wrong with this program statement? Void = 10;
Describe wild pointers in c?
What is the c value paradox and how is it explained?
Write a c program to build a heap method using Pointer to function and pointer to structure ?
How can you avoid including a header more than once?
How do you redirect a standard stream?
ATM machine and railway reservation class/object diagram
What does c mean in basketball?
What is wrong with this code?
What is the meaning of c in c language?
a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.
When should a type cast not be used?
a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor
How are pointers declared in c?