Write a program for finding factorial of a number.
No Answer is Posted For this Question
Be the First to Post Answer
how to add two numbers without using arithmetic operators?
what type of language is C?
Explain Function Pointer?
What is the purpose of realloc()?
Explain how do you sort filenames in a directory?
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
#include<stdio.h> void main() { int a=5,b=6,c; int x=(a<b)+7; int y=(x==7)*9; int z=(c=x+y)*2; printf("%h %h %h",x,y,z); } What is the output? Explain it.
Tell me about low level programming languages.
who will call your main function in c under linux?
Discuss the function of conditional operator, size of operator and comma operator with examples.
#include<stdio.h> main() { int a[3]; int *I; a[0]=100;a[1]=200;a[2]=300; I=a; Printf(“%d\n”, ++*I); Printf(“%d\n”, *++I); Printf(“%d\n”, (*I)--); Printf(“%d\n”, *I); } what is the o/p a. 101,200,200,199 b. 200,201,201,100 c. 101,200,199,199 d. 200,300
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?