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

Identify the operators that is not used with pointer

a. &&

b. #

c. *

d. >>

Answer Posted / senthil

ANS. b. #

# is an operator used to convert a parameter to string
# should always be followed by a formal parameter (in below example parameter x)

Ex:
#define SAM(x) #x
printf(SAM(Hello)); // prints Hello

In other cases
char a = 0x10, b;
char *p = &b;

a. a&&*p is valid
b. *p is valid
c. a>>*p is valid

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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)

1097


In c language can we compile a program without main() function?

1136


How can I remove the leading spaces from a string?

1160


Linked lists -- can you tell me how to check whether a linked list is circular?

1083


What is a pragma?

1124


What is int main () in c?

1085


What is meant by errors and debugging?

1103


What is declaration and definition in c?

1086


Are bit fields portable?

1158


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

1087


What is New modifiers?

1125


What is a node in c?

971


Write a program to print ASCII code for a given digit.

1091


How do I use void main?

1089


What are the data types present in c?

1163