Warning: implode(): Invalid arguments passed in /www/wwwroot/jobquiz.info/mdiscuss.php on line 336
Which of the following are unary operators in C? 1. ! 2. sizeof 3. ~ 4. && ?->(Show Answer!)
Question Set

1. Which of the following are unary operators in C? 1. ! 2. sizeof 3. ~ 4. &&





Ask Your Doubts Here

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

  • By: guest on 01 Jun 2017 06.01 pm
    An operation with only one operand is called unary operation.
    Unary operators:
    ! Logical NOT operator.
    ~ bitwise NOT operator.
    sizeof Size-of operator.
    && Logical AND is a logical operator. Therefore, 1, 2, 3 are unary operators.
Show Similar Question And Answers
QA->The terms NCMC, AFC and SWEEKAR, which were making news recently, are related to which of the following?....
QA->GSAT-31, which is in news recently, is launched from which of the following places?....
QA->Which one of the following is the name of a dual purpose Indian cattle breed, which has been exported widely to Latin American countries in the past ?....
QA->Tashigang, which is the world"s highest polling station, is located in which of the following Indian states? (Marks: 0)....
QA->Which of the following carbohydrates is most abundant in nature?....
MCQ->Which of the following are unary operators in C? 1. ! 2. sizeof 3. ~ 4. &&....
MCQ->If the size of pointer is 32 bits What will be the output of the program ? #include<stdio.h> int main() { char a[] = "Visual C++"; char b = "Visual C++"; printf("%d, %d\n", sizeof(a), sizeof(b)); printf("%d, %d", sizeof(a), sizeof(b)); return 0; }....
MCQ->What will be the output of the program in 16-bit platform (under DOS)? #include<stdio.h> int main() { struct node { int data; struct node link; }; struct node p, q; p = (struct node ) malloc(sizeof(struct node)); q = (struct node ) malloc(sizeof(struct node)); printf("%d, %d\n", sizeof(p), sizeof(q)); return 0; }....
MCQ->Assume integer is 2 bytes wide. What will be the output of the following code? #include<stdio.h> #include<stdlib.h> #define MAXROW 3 #define MAXCOL 4 int main() { int (p)[MAXCOL]; p = (int () [MAXCOL])malloc(MAXROW sizeof(p)); printf("%d, %d\n", sizeof(p), sizeof(p)); return 0; }....
MCQ->Assertion (A): C allows the use of logical operators, AND, OR, NOT.Reason (R): C has logical operators as well as bitwise operators like AND, OR etc.

....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions
Question ANSWER With Solution