Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

nashi informatics solutions


{ City } chennai
< Country > india
* Profession *
User No # 125947
Total Questions Posted # 479
Total Answers Posted # 668

Total Answers Posted for My Questions # 836
Total Views for My Questions # 366902

Users Marked my Answers as Correct # 0
Users Marked my Answers as Wrong # 0
Answers / { nashi informatics solutions }

Question { 1193 }

What are the key features of C?


Answer

Simple and efficient
Portable
Procedural language
Rich set of built-in functions and operators
Low-level access to memory
Pointer support

Is This Answer Correct ?    0 Yes 0 No

Question { 1193 }

What are the key features of C?


Answer

• Object-Oriented Programming: Encapsulation, Inheritance, Polymorphism.
• Memory management via pointers.
• Support for both high-level and low-level programming.
• Strong type checking.
• STL (Standard Template Library) for reusable components.

Is This Answer Correct ?    0 Yes 0 No


Question { 1037 }

What is the difference between int and float?


Answer

 int: Stores integer values (e.g., 1, -10).
 float: Stores floating-point numbers (e.g., 3.14, -2.7).

Is This Answer Correct ?    0 Yes 0 No

Question { 945 }

What is the use of the #include directive?


Answer

The #include directive is used to include header files in a program. For example, #include includes the standard input-output library.

Is This Answer Correct ?    0 Yes 0 No

Question { 1201 }

What are the different types of storage classes in C?


Answer

 Auto: Default storage class for local variables.
 Static: Retains variable value between function calls.
 Extern: Refers to global variables used in other files.
 Register: Suggests storing variables in the CPU register.

Is This Answer Correct ?    0 Yes 0 No

Question { 875 }

What is the difference between a structure and a union?


Answer

 Structure: All members have their own memory location.
 Union: All members share the same memory location.

Is This Answer Correct ?    0 Yes 0 No

Question { 845 }

How can you dynamically allocate memory in C?


Answer

Memory can be dynamically allocated using functions like malloc(), calloc(), realloc(), and freed using free().

Is This Answer Correct ?    0 Yes 0 No

Question { 683 }

What are macros in C?


Answer

Macros are preprocessor directives defined using #define to create constants or functions.

Is This Answer Correct ?    0 Yes 0 No

Question { 778 }

What is a segmentation fault?


Answer

It occurs when a program attempts to access an invalid memory location.

Is This Answer Correct ?    0 Yes 0 No

Question { 816 }

What is the use of the sizeof operator?


Answer

The sizeof operator determines the size of a data type or variable in bytes.

Is This Answer Correct ?    0 Yes 0 No

Question { 797 }

Explain the difference between fopen() and freopen().


Answer

 fopen(): Opens a new file.
 freopen(): Reopens a file stream to a different file or mode.

Is This Answer Correct ?    0 Yes 0 No

Question { 725 }

What is the difference between calloc() and realloc()?


Answer

calloc() allocates memory and initializes it to zero.
realloc() resizes previously allocated memory.

Is This Answer Correct ?    0 Yes 0 No

Question { 630 }

Explain #pragma in C.


Answer

A compiler-specific directive used for special purposes like disabling warnings.

Is This Answer Correct ?    0 Yes 0 No

Question { 645 }

What are dangling pointers?


Answer

Pointers pointing to memory that has been deallocated.

Is This Answer Correct ?    0 Yes 0 No

Question { 667 }

What is undefined behavior?


Answer

A program behavior that is not defined by the C standard, e.g., dividing by zero.

Is This Answer Correct ?    0 Yes 0 No

Prev    1   ... 4   ... 7   ... 10   ... 13   ... 16   ... 19   ... 22   ... 25   ... 28    32   [33]    34  ... 37   ... 40   ... 43    Next