#include<stdio.h> #include<stdlib.h> // Q.2 Passing a pointer j to a function and printing its address. void print_address(int* j){ printf("%d\n",...
#include<stdio.h> #include<stdlib.h> #include<time.h> // Q.1 Function to find average of three numbers. float avg(int a, int b, int c){ int sum = a +...
#include<stdio.h> #include<stdlib.h> #include<time.h> int main(){ srand(time(0)); int rand_num = rand()% 100 + 1; printf("Guess the number...
#include <stdio.h> int main(){ // Q.1 Program to print table. int table; printf("Which table?"); scanf("%d", &table); int i = 1; while(i<=10){...
#include <stdio.h> int main(){ // Q.1 if else int a = 10; // This will print first print statement. if(a = 11) printf("I am 11"); else printf("I am...
int main(){ int a = 10;if(a = 11) printf("I am 11");else printf("I am not 11"); }