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

char ch="{'H','I',0};printf("%s",ch);what is output

Answer Posted / sathish kumar

Hi All,

this is sathish. upto my knwowledge it depends on
compiler. in TurboC if u give char ch={'AB'}; it will
print B. In VC++ if u give char ch={'ABC'} it will give
C. But in TurboC u cannot give like this char ch={'ABC'};
(three character r nt allowed).

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

3017


How can a program be made to print the line number where an error occurs?

1035


A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler

1050


Write a c program to build a heap method using Pointer to function and pointer to structure ?

4621


Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.

1354


Define and explain about ! Operator?

952


Tell me about low level programming languages.

1066


Explain what is output redirection?

1135


define string ?

1056


Difference between Shallow copy and Deep copy?

1968


Is fortran still used today?

1040


What is a pointer in c?

1414


Tell me when would you use a pointer to a function?

1010


why return type of main is not necessary in linux

2042


difference between native and cross compilers

2079