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);}
Answers were Sorted based on User's Feedback
Answer / vignesh1988i
1 st prob.. this will be an error since b[] have not been
declared.......
if you are nt bothered about the syntax obligations....
then the output will be:
abcd
| Is This Answer Correct ? | 5 Yes | 0 No |
two variables are added answer is stored on not for third variable how it is possible?
What is the difference between a function and a method in c?
how can write all 1to 100 prime numbers using for loop,if and break ?
main() { int i = 10; printf(" %d %d %d \n", ++i, i++, ++i); }
What is the purpose of ftell?
main() { int x=20,y=35; x = y++ + x++; y = ++y + ++x; printf("%d %d\n",x,y); }
27 Answers Advent Global Solutions, CitiGroup, Valeo Lighting Systems India Private Limited, Vishal Transformers, Wipro, Zencer,
What is volatile, register definition in C
Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.
Can a pointer be static?
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
Explain how do you view the path?
Describe the steps to insert data into a singly linked list.