1)which of following operator can't be overloaded.
a)== b)++ c)?! d)<=
Answers were Sorted based on User's Feedback
Answer / nandhini
Which operators can be overloaded?
* The following operators can be overloaded:
1. Unary operators:
+ - * & ~ ! ++ -- -> ->*
2. Binary operators:
+ - * / % ^ & | << >>
+= -= *= /= %= ^= &= |= <<= >>=
< <= > >= == != && ||
, [] ()
new new[] delete delete[]
so c option is correct
| Is This Answer Correct ? | 14 Yes | 1 No |
When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd
What is I ++ in c programming?
Write a program to implement queue.
What are shell structures used for?
How can I find the day of the week given the date?
write a program to remove duplicate from an ordered char array? in c
regarding the scope of the varibles;identify the incorrect statement: a.automatic variables are automatically initialised to 0 b.static variables are are automatically initialised to 0 c.the address of a register variable is not accessiable d.static variables cannot be initialised with any expression
i have a written test in tomorrow
AMMONG THE 4 STROAGE CLASSES IN C, WHICH ONE FASTEST?
what are brk, sbrk?
macros and function are related in what aspect? a)recursion b)varying no of arguments c)hypochecking d)type declaration
12 Answers HCL, Infosys, Microsoft,
void main() { static int i = 5; if(--i) { main(); printf("%d ",i); } } what would be output of the above program and justify your answer? }
5 Answers C DAC, CDAC, Infosys, Wipro,