Please list all the unary and binary operators in C.
Answers were Sorted based on User's Feedback
Answer / kuldeep singh
unary operatos are increment(++),decrement(--),minus(-)
,ampersand(&)negation(!),sizeof(),pointer referance
(*),one's complement(~).......
and binary operatos are +,*,%,/,<,>,=,AND(&&),OR
(||),assigment operator(==),inequility(>=,<=)
| Is This Answer Correct ? | 32 Yes | 3 No |
The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?
What does 3 periods mean in texting?
How do we open a binary file in Read/Write mode in C?
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
Can 'this' pointer by used in the constructor?
What is #include conio h?
O,T,T,F,F,S,S,E,N,?,?,?,T,F,F,S,S,E,N
#include<conio.h> #include<stdio.h> void main() { int i; if(1,0,2,3) { printf("if"); } else { printf("else"); } getch(); } Can any body tell the answer of this question with explanation?
Do you know pointer in c?
What is cohesion in c?
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
void main(int argc,char *argv[],char *env[]) { int i; for(i=1;i<argc;i++) printf("%s",env[i]); }