Subtract Two Number Without Using Subtraction Operator


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

Post New Answer

More C Interview Questions

What is null in c?

0 Answers  


main() { int i; printf("%d", &i)+1; scanf("%d", i)-1; }

1 Answers  


The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none

0 Answers  


Write a program to show the change in position of a cursor using c

0 Answers  


Difference between linking and loading?

0 Answers  






void main() {int a[5],i,b=16; for(i=0;i<5;i++) a[i]=2*i; f(a,5,b); for(i=0;i<5;i++) printf("\n %d",a[i]); printf("\n %d",b); } f(int *x,int n,int y) { int i; for(i=0;i<n;i++) *(x+i)+=2; y=y+2; }wat r the errors in the prg.and improvise the prg to get o/p.?

2 Answers   TCS,


any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()

0 Answers  


What is the function of this pointer?

0 Answers   Agilent, ZS Associates,


What is scanf_s in c?

0 Answers  


4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it. i have done maximum par but i m findind problem in the commented area. please help...

3 Answers  


Is c high or low level?

0 Answers  


What is the difference between void main() and void main (void) give example programme?

0 Answers  


Categories