The operation of a stair case switch best explains the a) or operation b) and operation c)exclusive nor operation d)exclusive or operation Which of the following is/are syntactically correct? a) for(); b) for(;); c) for(,); d) for(;;);
1 13021b) 4 c) 6 d) 7 32. Any C program a) must contain at least one function b) need not contain ant function c) needs input data d) none of the above 33. Using goto inside for loop is equivalent to using a) continue b) break c) return d)none of the above 34. The program fragment int a=5, b=2; printf(“%d”,a+++++b); a) prints 7 b)prints 8 c) prints 9 d)none of the above 35. printf(“ab” , “cd”,”ef”); prints a) ab abcdef c) abcdef, followed by garbage value d) none of the above 36. Consider the following program segment. i=6720; j=4; while((i%j)==0) { i=i/j; j=j+1; } On termination j will have the value a) 4 b) 8 c) 9 d) 6720
1 8419Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
2 7345int main() { int i=-1,j=-1;k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d%d%d%d%d",i,j,k,l,m); }
3 8558Post New HCL C Interview Questions
How long does windows 10 take to download?
Find Best Job Vacancies across the world on Jooble!
Does the 644 permissions on wp-config.php compromise the username and password to all other users on my shared server?
Which institution designed aryabhatta?
How we can come to know the substation range,without go through any name plate ?
being a team leader in your college fest, what was your strategy to do things?
What is a makefile in linux?
write program in c# using this instructions name avinash varma ,work experiance<2,nochildren his work experiance is higher than 5 years,more than one children one children name is diwakar,number of years of work eperiance at current company is the ratio of children and work experiance is 0.21 to 0.5
How to manage the user login sessions in maximo?
How do you exchange data among different modules of your angular js application?
What is meant by positive and negative feedback?
For each of the following program segments,give a big zero
analysis for the running time
1.For (i=0;i Describe some major trends in pharmaceutical field? What is the normal excel file format? Why ph scale range is 14? Why it is not less or not greater than 14? Solution of hcl or hydrogen containing liquid has a ph. But if the solution is kmno4 here nothydrogen power does it ph?