Showing posts with label c language tutorial. Show all posts
Showing posts with label c language tutorial. Show all posts

Tuesday, 23 May 2023

Solved : PROGRAMMING & PROBLEM SOLVING THROUGH ‘C’ LANGUAGE , January 2022 | NIELIT O Level

 PROGRAMMING & PROBLEM SOLVING THROUGH ‘C’ LANGUAGE , January 2022 | NIELIT O Level

Q. 1 : Each question below gives a multiple choice of answers. Choose the most appropriate one and enter in the "OMR" answer sheet supplied with the question paper, following instructions therein.
(1x10)

Sunday, 23 April 2023

Solved : PROGRAMMING & PROBLEM SOLVING THROUGH ‘C’ LANGUAGE , July 2021 | NIELIT O Level

 Solved : PROGRAMMING & PROBLEM SOLVING THROUGH ‘C’ LANGUAGE , July 2021 | NIELIT O Level

Q. 1 : Each question below gives a multiple choice of answers. Choose the most appropriate one and enter in the “OMR” answer sheet supplied with the question paper, following instructions therein. (1x10)


1.1 : The default storage class of a 'C' variable is :
(A) Auto
(B) Static
(C) Extern
(D) Register

Saturday, 16 October 2021

Solved : PROGRAMMING & PROBLEM SOLVING THROUGH ‘C’ LANGUAGE , January 2021 | NIELIT O Level

 Solved : PROGRAMMING & PROBLEM SOLVING THROUGH ‘C’ LANGUAGE , January 2021 | NIELIT O Level

Each question below gives a multiple choice of answers. Choose the most appropriate one and enter in the "OMR" answer sheet supplied with the question paper, following instructions therein.


1.1 Which of the following is not a valid variable name declaration ?
(A) int
(B) abc_int
(C) abc
(D) abc_abc 

Friday, 30 April 2021

Implicit and Explicit type conversion | C Language

 Implicit and Explicit type conversion | C Language

Converting one data type into another data type is known as type conversion or typecasting. For example, converting character to number type integer. A waterfall model has been used for type conversion, which guaranteed that no loss of data while conversion.  If you convert the higher data type to a lower data type then data loss will occur, for example, conversion of long to an integer.

Implicit and Explicit type conversion | C Language




Implicit Typecasting

Implicit type casting means conversion of data types without losing its original meaning. This type of typecasting is essential when you want to change data types without changing the significance of the values stored inside the variable.