#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
What was noalias and what ever happened to it?
What is the advantage of a random access file?
What do you mean by a local block?
To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9
What are the types of pointers in c?
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
How many parameters should a function have?
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
If you know then define #pragma?
What is the difference between call by value and call by reference in c?
Dont ansi function prototypes render lint obsolete?
What are nested functions in c?
Write a program to generate the Fibinocci Series
which is an algorithm for sorting in a growing Lexicographic order
Explain the difference between ++u and u++?