05-18-2011, 06:34 PM
C-language kis labortary may invent hoi.
- C is widely known as development language of _______ operating system.
► Linux
► Windows
► Unix
► Mac OS
- What will be the result of arithmetic expression 6+27/3*3?
► 33
► 45
► 9
► 30
- What will be the correct syntax for initialization of pointer ptr with string "programming"?
► char ptr = ’programming’ ;
► char *ptr = “programming” ;
► char *ptr = ‘programming’ ;
► *ptr = “programming” ;
- Which character is inserted at the end of string to indicate the end of string?
► new line
► tab
► null
► carriage return
- ek question that like variable say related jis ki option kuch is tarah say the;
int (i)
int [2]
and subjective may say;
Q1- Write down the output of the following code?
int array[7], sum = 0;
for(int i=0;i<7;i++)
{
array[i] = i;
sum+= array[i];
}
cout<< “ Sum = “ <<sum;
Q2- Explain C-String with an example?
Q3- anonymous structure and anonymous union k baray likhain?
- C is widely known as development language of _______ operating system.
► Linux
► Windows
► Unix
► Mac OS
- What will be the result of arithmetic expression 6+27/3*3?
► 33
► 45
► 9
► 30
- What will be the correct syntax for initialization of pointer ptr with string "programming"?
► char ptr = ’programming’ ;
► char *ptr = “programming” ;
► char *ptr = ‘programming’ ;
► *ptr = “programming” ;
- Which character is inserted at the end of string to indicate the end of string?
► new line
► tab
► null
► carriage return
- ek question that like variable say related jis ki option kuch is tarah say the;
int (i)
int [2]
and subjective may say;
Q1- Write down the output of the following code?
int array[7], sum = 0;
for(int i=0;i<7;i++)
{
array[i] = i;
sum+= array[i];
}
cout<< “ Sum = “ <<sum;
Q2- Explain C-String with an example?
Q3- anonymous structure and anonymous union k baray likhain?
0300-9520262
Get solution in 24 hour |cpmputer & internet
mileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
