#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
What are the types of type specifiers?
Why do we use stdio h and conio h?
What is the use of printf() and scanf() functions?
How can you find the day of the week given the date?
What is a c token and types of c tokens?
What is the difference between functions getch() and getche()?
How are pointers declared in c?
Who is the main contributor in designing the c language after dennis ritchie?
How pointers are declared?
What is static and volatile in c?
What is graph in c?
What is function pointer c?
Write the control statements in C language
simple program of graphics and their output display
c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above