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 |
Can we access RAM? How? Whats the range of access? Similarly What are other hardware we can access?
Write a program which has the following seven functions. The functions should be: • main() this calls the other 6 functions • fget_long() a function which returns a long data type from a file • fget_short() a function which returns a short integer variable from a file • fget_float() a function which returns a floating point variable from a file • fprt_long() a function which prints its single, long argument into a file • fprt_short() a function which prints its single, short argument into a file • fprt_float() a function which prints its single, floating point argument into a file. You should use fscanf() to get the values of the variables from the input (the file) and fprintf() to print the values to the other file. Pay attention to using the correct format for each of the data types.
Can you write a programmer for FACTORIAL using recursion?
Study the Following Points: a.One Cannot Take the address of a Bit Field b.bit fields cannot be arrayed c.Bit-Fields are machine Dependant d.Bit-fields cannot be declared as static 1. Which of the Following Statements are true w.r.t Bit- Fields A)a,b&c B)Only a & b C)Only c D)All
how can use subset in c program and give more example
What are the types of bitwise operator?
What is quick sort in c?
Why is sprintf unsafe?
Explain what are multidimensional arrays?
How can you pass an array to a function by value?
how to find out the inorder successor of a node in a tree??
Explain what is the best way to comment out a section of code that contains comments?