#include<stdio.h>
main()
{
char s1[]="Ramco";
char s2[]="Systems";
s1=s2;
printf("%s",s1);
}
Find the output
Answer Posted / vignesh1988i
it will be an error as for as i know... since s1 is not a
pointer variable... but however array are implict
pointers.... here we cant assign the base address to
another arry which is capable of holding oly values not
addressses...............
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
How are pointers declared in c?
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above
What is the purpose of sprintf?
What are comments and how do you insert it in a C program?
What is boolean in c?
What are two dimensional arrays alternatively called as?
write a program in c language to print your bio-data on the screen by using functions.
What is difference between %d and %i in c?
Here is a neat trick for checking whether two strings are equal
What does a function declared as pascal do differently?
How do you override a defined macro?
How can I prevent another program from modifying part of a file that I am modifying?