Answer Posted / valli
sorry
after for loop it is not
s[i]=s2[i]
but
correct one is
s2[i]=s[i];
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is the purpose of realloc()?
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
In C, What is the #line used for?
write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
What happens if you free a pointer twice?
in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures
What is variable declaration and definition in c?
Explain how are portions of a program disabled in demo versions?
What do you mean by c what are the main characteristics of c language?
Can a pointer be volatile in c?
cavium networks written test pattern ..
Is c is a high level language?
Why doesnt the call scanf work?
What is main function in c?