#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
Which node is more powerful and can handle local information processing or graphics processing?
What are header files in c?
What is a dynamic array in c?
What is the ANSI C Standard?
write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)
main() { printf("hello"); fork(); }
Explain how are portions of a program disabled in demo versions?
Explain zero based addressing.
Differentiate Source Codes from Object Codes
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.
Explain the use of keyword 'register' with respect to variables.
How many keywords are there in c?
How can my program discover the complete pathname to the executable from which it was invoked?
Is boolean a datatype in c?
The difference between printf and fprintf is ?