1)which of following operator can't be overloaded.
a)== b)++ c)?! d)<=
Answer Posted / 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 |
Post New Answer View All Answers
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
What is difference between constant pointer and constant variable?
What are global variables and explain how do you declare them?
Add Two Numbers Without Using the Addition Operator
Can a function argument have default value?
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
Do you know the difference between malloc() and calloc() function?
What are the types of operators in c?
What is the difference between strcpy() and memcpy() function in c programming?
What is the code for 3 questions and answer check in VisualBasic.Net?
1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if
Explain #pragma statements.
Does c have function or method?
What is the difference between union and anonymous union?
write a program to display all prime numbers