what is structuer?
Answers were Sorted based on User's Feedback
Answer / ashish
A structure is a collection of variables under a single name.
These variables can be of different types, and each has a name
which is used to select it from the structure. A structure is
a convenient way of grouping several pieces of related
information together.
A structure can be defined as a new named type, thus extending
the number of available types. It can use other structures,
arrays or pointers as some of its members, though this can get
complicated unless you are careful.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / mayur dharmik
1. Structure is USER DATA TYPE,
2. It is the collection of Similar OR Dissimilar data type
of element to create new data type.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / dharmaraj
A STRUCTURE IS "ALL THE DATAS TO SAVING IN ONE UNIT "AND
CALLED IN SINGLE NAME.
the structur is used in use "struct" keyword.
[e.g]
struct struct_name()
{
-----
-----
}
| Is This Answer Correct ? | 0 Yes | 1 No |
write a progam to display the factors of a given number and disply how many prime numbers are there?
What are the keywords in c?
#include<stdio.h> main() { char *p1; char *p2; p1=(char *) malloc(25); p2=(char *) malloc(25); strcpy(p1,"Ramco"); strcpy(p2,"Systems"); strcat(p1,p2); printf("%s",p1); } Tell me the output?
What is the size of a union variable?
write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);
How will you write a code for accessing the length of an array without assigning it to another variable?
What is the use of a semicolon (;) at the end of every program statement?
Explain Basic concepts of C language?
What is a 'null pointer assignment' error?
what is the difference between #include<> and #include”…”?
How to find the given no is odd or even without checking of any condition and loops. (Hint: Using array)
Write a C Program to display the following menu: Menu 1. Display 2. Copy 3. Append 4. Exit Accept the choice (1-4) from the user, and perform the following tasks: Choice 1: Accept a file name from the user and display the file on screen Choice 2: Accept two file names, and copy first file to the second Choice 3: Accept two file names, and append second file to the first file Choice 4: Terminate the program
1 Answers Accenture, Concor, DMU, Satyam, Syntel, Tora,