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...

What is the o/p of the follow pgm?

#include<stdio.h>

main()

{

char char_arr[5]=”ORACL”;

char c=’E’;

prinf(“%s\n”,strcat(char_arr,c));

}



a:oracle

b. oracl

c.e

d.none

Answer Posted / sadanand

error in program... strcat is used to concatinate 2 strings.
in above program c is char and not string so compilation error

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between static and dynamic modeling.

1051


Explain what is gets() function?

1013


Why is #define used?

1229


What is the difference between null pointer and wild pointer?

1136


please explain every phase in the "SDLC" in the dotnet.

2560


main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }

1090


What is the collection of communication lines and routers called?

1055


Is file a keyword in c?

887


What is volatile keyword in c?

997


How can I call a function with an argument list built up at run time?

1173


How to write a code for implementing my own printf() and scanf().... Please hep me in this... I need a guidance... Can you give an coding for c... Please also explain about the header files used other than #include...

5403


How many levels of pointers can you have?

1135


What is union and structure in c?

1149


Why do some versions of toupper act strangely if given an upper-case letter?

1037


How the c program is executed?

1076