GeekInterview.com
  I am new, Sign me up!
 

IBM Technical


IBM Technical

Questions: 98
Comments: 204
 IBM Technical Tags
 Showing Questions 81-90 of 98 Questions
<< Previous 5 6 7 8 [9] 10 Next >>
 Sponsored Links

 
 IBM Technical
Sorting Options :  

In the following code segment what will be the result of the function, value of x , value of y{unsigned int x=-1;int y;y = ~0;if(x == y)printf("same");elseprintf("not same");}a) same, MAXINT, -1b) not same, MAXINT, -MAXINTc) same , MAXUNIT, -1d) same, MAXUNIT, MAXUNITe) not same, MAXINT, MAXUNIT
a  

What will be the result of the following program ?char *gxxx(){static char xxx[1024];return xxx;}main(){char *g="string";strcpy(gxxx(),g);g = gxxx();strcpy(g,"oldstring");printf("The string is : %s",gxxx());}a) The string is : stringb) The string is :Oldstringc) Run time error/Core dumpd) Syntax error during compilatione) None of these
b  

What will be result of the following program?void myalloc(char *x, int n){x= (char *)malloc(n*sizeof(char));memset(x,,n*sizeof(char));}main(){char *g="String";myalloc(g,20);strcpy(g,"Oldstring");printf("The string is %s",g);}a) The string is : Stringb) Run time error/Core dumpc) The string is : Oldstringd) Syntax error during compilatione) None of these

Which function is the entry point for a DLL in MS Windows 3.1a) mainb) Winmainc) Dllmaind) Libmaine) None
b  

The standard source for standard input , standard output and standard error isa) the terminalb) /dev/nullc) /usr/you/input, /usr/you/output/, /usr/you/error respectivelyd) None
a  

The redirection operators > and >>a) do the same functionb) differ : > overwrites, while >> appendsc) differ : > is used for input while >> is used for outputd) differ : > write to any file while >> write only to standard outpute) None of these
b  

The command grep first second third /usr/you/myfilea) prints lines containing the words first, second or third from the file /usr/you/myfileb) searches for lines containing the pattern first in the files second, third, and /usr/you/myfile and prints themc) searches the files /usr/you/myfile and third for lines containing the words first or second and prints themd) replaces the word first with the word second in the files third and /usr/you/myfilee) None of the above
b  

application  

WinMain  

Latest Answer: Win 3.x supports Nonpreemptive multitasking,where unix,linux,98etc all supprts 2 preemptive.  ...

View page << Previous 5 6 7 8 [9] 10 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 (?)

 
Expert Members
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