main()
{char a[10]={1,2,3,4,5,6};int x;
for(x=0;x<4;x++){ b[x]=x+'a';}
printf("%s",b);}
Answer Posted / guest
abcd56
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
When should a type cast be used?
How do you declare a variable that will hold string values?
What is a function in c?
Give the rules for variable declaration?
What is the size of structure in c?
How can I implement a delay, or time a users response, with sub-second resolution?
What language is lisp written in?
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
What's the right way to use errno?
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
Is c weakly typed?
How can this be legal c?
In c language can we compile a program without main() function?
What does typeof return in c?
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)