Monday, 2 October 2017
CSS 360 Rotation
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Saturday, 30 September 2017
C language Paper Solution
NIELIT O Level
C Language Exam paper answer
January-2013
1. Multiple Choice
1.1 : A
1.2 : C
1.3 : A
1.4 : B
1.5 : B
1.6 : C
Explanation : When x will be less than 5 then continue transfer control at top of the loop and increase variable value,check condition. As soon as x get greater than 5 then if return false and control transfer to else . Else has break and when break will execute loop will be stop forcefully.
1. Multiple Choice
1.1 : A
1.2 : C
1.3 : A
1.4 : B
1.5 : B
1.6 : C
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Thursday, 28 September 2017
Metric Conversion with structure
Q :Define two structures Metric and British that store distances. The Metric stores values in meters and centimeters and the British stores values in feet and inches. Write a program that reads both structure variables and add values contained in one variable of Metric to the contents of another variable of British. The program should display the result in both: equivalent centimeters and equivalent inches.
Solution :
For solve this question you need to know metric measurement unit.
1 centimeter = 10 millimeters
1 meter = 100 centimeters = 1,000 millimeters
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Wednesday, 27 September 2017
Array pass to function
Array is a collection of similar
data type which occupies continuous location on memory. Array’s name is a
constant pointer which point first element of array. So when an array is passing
to a function. Address of first element pass to function instead of value. If any
change made inside of function body with array, then it affects actual value of
passed array. Following program demonstrate this fact.
#include<stdio.h>
int update(int[]);
void main()
{
int arr[5],i;
for(i=0;i<5;i++)
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Subscribe to:
Posts (Atom)