What are the types of operators in c?



What are the types of operators in c?..

Answer / Manoj Sagar

In C programming, there are five categories of operators: arithmetic, relational, logical, assignment and miscellaneous. Examples include + (addition), == (equal to), && (logical AND) and += (assignment with addition).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Which header file is essential for using strcmp function?

1 Answers  


What is include directive in c?

1 Answers  


What is the difference between typeof(foo) and myFoo.GetType()?

2 Answers   Synergy,


In the below code, how do you modify the value 'a' and print in the function. You'll be allowed to add code only inside the called function. main() { int a=5; function(); // no parameters should be passed } function() { /* add code here to modify the value of and print here */ }

1 Answers  


What is the purpose of #pragma directives in C?

2 Answers  


Write a function that accepts a sentence as a parameter, and returns the same with each of its words reversed. The returned sentence should have 1 blank space between each pair of words. Demonstrate the usage of this function from a main program. Example: Parameter: “jack and jill went up a hill” Return Value: “kcaj dna llij tnew pu a llih”

5 Answers   Mind Tree,


what is ans for this scanf(%%d",c);

1 Answers  


What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.

1 Answers   IBM,


Given an unsigned integer, find if the number is power of 2?

5 Answers  


what is data structure?

5 Answers   CBSE,


void main() { int a=1; while(a++<=1) while(a++<=2); }

4 Answers   HCL,


Who had beaten up hooligan "CHAKULI" in his early college days?

1 Answers  


Categories