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 |
Where local variables are stored in c?
What is substring in c?
A marketing company wishes to construct a decision table to decide how to treat clients according to three characteristics: Gender, City Dweller, and age group: A (under 30), B (between 30 and 60), C (over 60). The company has four products (W, X, Y and Z) to test market. Product W will appeal to female city dwellers. Product X will appeal to young females. Product Y will appeal to Male middle aged shoppers who do not live in cities. Product Z will appeal to all but older females.
What is the use of pragma in embedded c?
2)#include<iostream.h> main() { printf("Hello World"); } the program prints Hello World without changing main() the o/p should be intialisation Hello World Desruct the changes should be a)iostream operator<<(iostream os, char*s) os<<'intialisation'<<(Hello World)<<Destruct b) c) d)none of the above
how can we use static and extern?and where can we use this?
Please list all the unary and binary operators in C.
What does == mean in texting?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
Whether there can be main inside another main?If so how does it work?
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above