GeekInterview.com
  I am new, Sign me up!
 

TCS C


TCS C

Questions: 87
Comments: 301
 TCS C Tags
 Showing Questions 61-70 of 87 Questions
<< Previous 3 4 5 6 [7] 8 9 Next >>
 Sponsored Links

 
 TCS C
Sorting Options :  

Consider the following C codemain(){int i=3,x;while(i>0){x=func(i);i--;}int func(int n){static sum=0;sum=sum+n;return(sum);}}The final value of x isA. 6B. 8C. 1D. 3

Int *a[5] refers toA. array of pointersB. pointer to an arrayC. pointer to a pointerD. none of these
Tags : Pointer

Which of the following statements is incorrectA. typedef struct new     {      int n1;      char n2;      } DATA;B. typedef struct      {       int n3;       char *n4;       }ICE;C.   typedef union       {       int n5;      

A 
Latest Answer: answer is 5 times ...

# define prod(a,b)=a*bmain(){int x=2;int y=3;printf("%d",prod(x+2,y-10)); }the output of the program is a.8b.6c.7d.none
A 

C 
Latest Answer: C is invalid>> is an error here.It can be used with console input and console output but this left chevron operotor cannot be directly used to assign. ...

Which of the following statements is incorrecta.typedef struct new{int n1;char n2;} DATA;b.typedef struct {int n3;char *n4; }ICE;c.typedef union {int n5;float n6;} UDT;d.#typedef union {int n7;float n8;} TUDAT;
B 

What is false about the following A compound statement is a.A set of simple statmentsb.Demarcated on either side by curly bracketsc.Can be used in place of simple statementd.A C function is not a compound statement.
C 

Which of the following about the C comments is incorrect ?a.commentscan go over multiple linesb.comments can start any where in the linec.a line can contain comments with out any language statementsd.comments can occur within comments
C 

Read the function conv() given belowconv(int t){int u;u=5/9 * (t-32);return(u0;}What a.15b.0c.16.1d.29
A 

View page << Previous 3 4 5 6 [7] 8 9 Next >>

Ask A Question
Go Top
 Sponsored Links

 
Sponsored Links

 
Ask Question
You must login to Ask Question or Register your free account

Category:

 
Question Title:


Question in Detail:

Add this to my Subscribed Questions (?)
Send me email when new answer is posted (?)

 
Subscribe
Get Latest Updates Via RSS Reader or by Email
 Forum Discussion Subscribe to Forum Discussions Via E-Mail Latest Forum Discussions Subscribers
 Knowledge Base Subscribe to Knowledge Base Series Via E-Mail Knowledge Base Subscribers
 Learning Series Subscribe to GeekInterview Learning Series Via EMail Learning Series Subscribers
 Freelance Jobs Subscribe to GeekInterview Freelance Jobs Via EMail Latest Freelance Jobs Subscribers
 GeekInterview Blog Subscribe to GeekInterview Blog Via EMail GeekInterview Blog Subscribers
 Testing Interview Questions Subscribe to Testing Interview Questions Via EMail Testing Interview Questions Subscribers
 Oracle Interview Questions Subscribe to Oracle Interview Questions Via EMail Oracle Interview Questions Subscribers
 Java Interview Questions Subscribe to Java Interview Questions Via EMail Java Interview Questions Subscribers
 Latest Placement Papers Subscribe to Latest Placement Papers Placement Papers Subscribers
 Free Training Subscribe to Free Training Via EMail Free Training Subscribers
 Learn AJAX Subscribe to AJAXwith.com Via EMail AJAXwith Subscribers
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape