if a is an integer variable, a=5/2; will return a value

a) 2.5

b) 3

c) 2

d) 0


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

what will be the output: main(){char ch;int a=10;printf("%d",ch);}

36 Answers   Accenture, TCS, Wipro,


write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.

0 Answers   HCL,


Unsigned char c; for ( c=0;c!=256;c++2) printf("%d",c); No. of times the loop is executed ?

8 Answers   Mascot, TCS,


Explain what?s happening in the first constructor: public class c{ public c(string a) : this() {;}; public c() {;} } How is this construct useful?

1 Answers  


Why is event driven programming or procedural programming, better within specific scenario?

0 Answers   Wipro,






What is that continue statement??

4 Answers  


how to swap 2 numbers within a single statement?

4 Answers  


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

1 Answers   CMS,


Find greatest of two numbers using macro

4 Answers   Bosch, Siemens,


main() { int a[10]; printf("%d",*a+1-*a+3); }

2 Answers  


C program to perform stack operation using singly linked list

3 Answers  


6)What would be the output? main() { int u=1,v=3; pf("%d%d",u,v); funct1(&u,&v); pf("%d%d\n",u,v); } void funct1(int *pu, int *pv) { *pu=0; *pv=0; return; } a)1 3 1 3 b)1 3 1 1 c)1 3 0 0 d)1 1 1 1 e) 3 1 3 1

4 Answers  


Categories