Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / lucky

it gives compilation error bcoz b is not defined

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what are its uses in c programming?

1014


How do you use a 'Local Block'?

1119


How can I read data from data files with particular formats?

1002


What are void pointers in c?

965


What is structure padding and packing in c?

1004


What is a substring in c?

997


What are linker error?

1036


Describe static function with its usage?

1151


Write a program to find factorial of a number using recursive function.

1064


how to construct a simulator keeping the logical boolean gates in c

2196


What is the use of sizeof () in c?

992


Explain how do you sort filenames in a directory?

983


what is stack , heap ,code segment,and data segment

2632


4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.

2137


Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......

2136