an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order
a) assignment, relational, arithematic
b) arithematic, relational, assignment
c) relational, arithematic, assignment
d) assignment, arithematic, relational
No Answer is Posted For this Question
Be the First to Post Answer
f(char *p) { p=(char *)malloc(sizeof(6)); strcpy(p,"HELLO"); } main() { char *p="BYE"; f(p) printf("%s",p); } what is the output?
9 Answers Hughes, Tech Mahindra,
What is %s and %d in c?
find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2
Tell me what are bitwise shift operators?
Is boolean a datatype in c?
What is union and structure?
write a program to swap bits in a character and return the value prototype of function char fun (char a, charb flag c) where fun returns a char, char a is a the value char b is the bit to be changed and flag c is the bit value for eg: x=fun(45,7,0) since 45 is 0010 0101 and ow x should contain the value 65 (0110 0101)
1 Answers Bosch, College School Exams Tests,
main() { enum{red,green,blue=6,white}; pf("%d%d%d%d", red,green,blue,white); return 0; } a)0 1 6 2 b)0 1 6 7 c)Compilation error d)None of the above
what is pointer
Q-1: Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college.
write a program to print the all 4digits numbers & whose squares must me even numbers?
what are the static variables
8 Answers HCL, iFlex, TCS, Wipro,