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

Why do we use namespace feature?

1121


a c code by using memory allocation for add ,multiply of sprase matrixes

2863


Are the outer parentheses in return statements really optional?

1160


How to create struct variables?

1173


Explain enumerated types.

1087


Should I learn c before c++?

1298


GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)

1158


How can I read a binary data file properly?

1251


Do you know what are bitwise shift operators in c programming?

1155


What are the 5 types of organizational structures?

1133


What is the use of getch ()?

1118


What are pointers? What are different types of pointers?

1224


What is c token?

1126


What is the purpose of void in c?

1109


Explain what is a const pointer?

1123