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


Please Help Members By Posting Answers For Below Questions

In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none

721


Explain can static variables be declared in a header file?

682


Why void main is used in c?

560


Explain a pre-processor and its advantages.

634


hi any body pls give me company name interview conduct "c" language only

1669






What's the difference between constant char *p and char * constant p?

659


The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this

2937


What is the full form of getch?

585


Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?

630


Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above

662


Why does everyone say not to use gets?

610


write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...

1489


What is static volatile in c?

576


Can we use any name in place of argv and argc as command line arguments?

610


Explain the use of keyword 'register' with respect to variables.

590