what is the structure?
Answers were Sorted based on User's Feedback
Answer / som87
A Structure in C is a collection of different data types.
While in C++ a structure consist of Data types and functions.
| Is This Answer Correct ? | 10 Yes | 3 No |
Answer / suriya
Structures are the C equivalent of records. A structure type
is defined by
struct struct-name
{
type field-name;
type field-name; ...
}
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / a\sivasankar.a
structure is an derived data type and it is a collection of
different data types stored in s single stucture
| Is This Answer Correct ? | 1 Yes | 0 No |
How many types of operator or there in c?
#include<stdio.h> int SumElement(int *,int); void main(void) { int x[10]; int i=10; for(;i;) { i--; *(x+i)=i; } printf("%d",SumElement(x,10)); } int SumElement(int array[],int size) { int i=0; float sum=0; for(;i<size;i++) sum+=array[i]; return sum; } output?
Write a c program using for loop to print typical pattern if number of rows is entered by keyboard. ABCBA AB BA A A
coding for Fibonacci.?
What is an volatile variable?
logic for x=y^n
What is a dynamic array in c?
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
What is the purpose of the statement: strcat (S2, S1)?
What is the result main() { char c=-64; int i=-32 unsigned int u =-16; if(c>i){ printf("pass1,"); if(c<u) printf("pass2"); else printf("Fail2");} else printf("Fail1); if(i<u) printf("pass2"); else printf("Fail2") } a)Pass1,Pass2 b)Pass1,Fail2 c)Fail1,Pass2 d)Fail1,Fail2 e)none
What is undefined behavior?
What is #include stdio h and #include conio h?