Write a simple code fragment that will check if a number is positive or negative.


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

Post New Answer

More C Interview Questions

Tell me the use of bit field in c language?

0 Answers  


what is the return type of printf

3 Answers  


a=0; while(a<5) printf("%d\n",a++); how many times does the loop occurs? a.infinite b.5 c.4 d.6

7 Answers   TCS,


logic for generating all the combinations of the any number of given letters. ex::::::::: if a,b,c,d are given the o/p should be abcd,dcba,dbac,bcad,................ 4*3*2*1 combinations............

2 Answers   Infosys,


How can you return multiple values from a function?

0 Answers  


What are the ways to a null pointer can use in c programming language?

0 Answers  


Why isnt there a numbered, multi-level break statement to break out

0 Answers  


while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above

0 Answers  


What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.

0 Answers  


If null and 0 are equivalent as null pointer constants, which should I use?

0 Answers  


how do we remove the printed character in printf statement and write next it it

1 Answers  


What are the characteristics of arrays in c?

0 Answers  


Categories