int i=~0;
uint j=(uint)i;
j++;
printf(“%d”,j);



int i=~0; uint j=(uint)i; j++; printf(“%d”,j);..

Answer / srilaxmi

2

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More C Interview Questions

Reverse a string word by word??

9 Answers  


two progs are given. one starts counting frm 0 to MAX and the other stars frm MAX to 0. which one executes fast.

5 Answers   Verifone,


what is the role you expect in software industry?

2 Answers   HCL, Wipro,


What is wild pointer in c?

0 Answers  


how do you execute a c program in unix.

0 Answers  






design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.

0 Answers   TCS,


Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)

0 Answers  


How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?

2 Answers   Aricent, Manipal University,


main() { char *p; p="Hello"; printf("%c\n",*&*p); }

2 Answers   ME,


In c programming language, how many parameters can be passed to a function ?

0 Answers  


How do you determine a file’s attributes?

0 Answers  


In a switch statement, what will happen if a break statement is omitted?

0 Answers  


Categories