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 p[] = "hello world!";
p = "vector";
printf("%s",p);
}

Answer Posted / amir khan

Vector because char a[] gives error due to empty parenthesis

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

1219


program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)

2095


What is static volatile in c?

1019


What is an array? What the different types of arrays in c?

1183


If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?

1258


Is it better to use malloc() or calloc()?

1115


How to explain the final year project as a fresher please answer with sample project

975


write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?

2131


How can you increase the size of a statically allocated array?

1081


What the advantages of using Unions?

1231


Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?

2580


What are the different data types in C?

1202


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

2187


What is the description for syntax errors?

1170


hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...

1915