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
What's the total generic pointer type?
What is the equivalent code of the following statement in WHILE LOOP format?
What is a pointer value and address in c?
find the output of the following program main() { int x=5, *p; p=&x; printf("%d",++*p); }
How is = symbol different from == symbol in c programming?
what is the difference between static variable and register variable?
What is anagram in c?
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
What is the value of a[3] if integer a[] = {5,4,3,2,1}?
Explain this code. #include <stdio.h> void f1(int *k) { *k = *k + 10; } main ( ){ int i; i = 0; printf (" The value of i before call %d \n", i); f1 (&i); printf (" The value of i after call %d \n", i); }
Write a program for the following series: 1*3*5-2*4*6+3*5*7-4*6*8+.................up to nterms
What is the time and space complexities of merge sort and when is it preferred over quick sort?