Monday, 24 July 2017
Write a C program to define a macro that can calculate the greater of two of its arguments. Use this macro to calculate the greatest of 4 integers.
What's Related?

Write a C program to define a union Contact that will contain the members Mobile no and E-mail id. Now define a structure Employee that will contain name, UID,PhNo, emailId and a variable of type Contact as members. The program will ask the user to give the details of five Employees including contact details. Print the details of all the Employees.

Write a C program to define a structure Student that will contain the roll number, name and total marks of a student The program will ask the user to input the details of 5 students and print the details of all the students whose total marks is greater than a given value.

Write a C program to take 5 names as input and print the longest name.

Write a C program to read N names, store them in the form of an array and sort them in alphabetical order.
Newer Post
Write a C program to define a function that will take an integer as argument and return the sum of digits of that integer
Home