What is the difference b/w Structure & Union?

Answer Posted / karthikkumareg

in structure struct key word is used but in union union key
word is used.

Is This Answer Correct ?    6 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is function prototype in c language?

617


Why does everyone say not to use scanf? What should I use instead?

680


a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above

656


Why ca not I do something like this?

587


can we have joblib in a proc ?

1656






what is the diffrenet bettwen HTTP and internet protocol

1392


write a proram to reverse the string using switch case?

2469


What is the use of pragma in embedded c?

592


how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12

653


Explain what is the difference between null and nul?

659


Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result

1469


What are local static variables? How can you use them?

647


What are pointers really good for, anyway?

617


stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.

1856


Write a program to print factorial of given number without using recursion?

569