difference between function & structure

Answer Posted / muhammad bilal

Structure:-

"Way in which components interconnect to each others"

Function:-

"Operation of individual behave as part of structure "

Is This Answer Correct ?    3 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you define CONSTANT in C?

810


what is the function of pragma directive in c?

813


Difference between Function to pointer and pointer to function

777


Why doesnt that code work?

730


What are the similarities between c and c++?

743






A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?

1668


Explain what is output redirection?

813


What is int main () in c?

790


What will the code below print when it is executed?   int x = 3, y = 4;         if (x = 4)                 y = 5;         else                 y = 2;         printf ("x=%d, y=%d ",x,y);

1522


GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA

1607


what is the format specifier for printing a pointer value?

727


Are the expressions * ptr ++ and ++ * ptr same?

802


how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.

1375


Is a house a mass structure?

784


Does sprintf put null character?

739