Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z




IBM C Interview Questions
Questions Answers Views Company eMail

What are Storage Classes in C ?

32 83485

WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c file management?

28 60826

Result of the following program is main() { int i=0; for(i=0;i<20;i++) { switch(i) case 0:i+=5; case 1:i+=2; case 5:i+=5; default i+=4; break;} printf("%d,",i); } } a)0,5,9,13,17 b)5,9,13,17 c)12,17,22 d)16,21 e)syntax error

8 11859

What is the result main() { char c=-64; int i=-32 unsigned int u =-16; if(c>i){ printf("pass1,"); if(c 9 5973


what will the following program do? void main() { int i; char a[]="String"; char *p="New Sring"; char *Temp; Temp=a; a=malloc(strlen(p) + 1); strcpy(a,p); //Line no:9// p = malloc(strlen(Temp) + 1); strcpy(p,Temp); printf("(%s, %s)",a,p); free(p); free(a); } //Line no 15// a) Swap contents of p & a and print:(New string, string) b) Generate compilation error in line number 8 c) Generate compilation error in line number 5 d) Generate compilation error in line number 7 e) Generate compilation error in line number 1

1 3737

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"); else printf("not same"); } a) same, MAXINT, -1 b) not same, MAXINT, -MAXINT c) same , MAXUNIT, -1 d) same, MAXUNIT, MAXUNIT e) not same, MAXINT, MAXUNIT

1 3957

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 : string b) The string is :Oldstring c) Run time error/Core dump d) Syntax error during compilation e) None of these

2 2982

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

3 3748

What will be the result of the following program? main() { char p[]="String"; int x=0; if(p=="String") { printf("Pass 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } else { printf("Fail 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } } a) Pass 1, Pass 2 b) Fail 1, Fail 2 c) Pass 1, Fail 2 d) Fail 1, Pass 2 e) syntax error during compilation

10 5593

how to convert binary to decimal and decimal to binary in C lanaguage

7 19120

How to use c/c++ code in JAVA

10 11752

how many header file is in C language ?

42 40430

When do you say that a digraph is acyclic A)if and only if its first search does not have back arcs B)a digraph is acyclic if and only if its first search does not have back vertices C)if and only if its first search does not have same dfnumber D)None of these

1 2403

what is difference between ++(*p) and (*p)++

17 9228

Average of a couple 10 years ago was 25. The average remains same after having a child and twins after 3 years. What is the present age of the first child

10 8855

Post New IBM C Interview Questions




Un-Answered Questions

what are the differences between webpage and webservice?

625


what is 'macro' in excel? how to make use of it ?

878


pls send me capital iq quition paper pls, ihave 2mr interview thanks

559


DEFINE BREAKING CAPACITY OF BUSBAR & HOW IT IS CALCULATED?

2966


I need to know the process to add 100 tapes in ATL. Ho to inicialize them to the system? How is all the process i need to follow> Thanks

605


which is the most advanced form of SF6 BREAKER?Can we use other gases to quench the arc?

496


How to Decide(calculate) Bush bar size for copper and aluminiam ?

661


what is the system of accounting and banking in cooperative bank?

1592


if a pipe those configuration (ASTM c 76 class b 450mm dia 2500mm length) fixing for water course those lining of water is 7000 running meter. my question is that if 8 joints of pipe ls leakage and we have not permission to stop the water so which treatment we apply on joint in that in condition.

471


Suppose you are heterozygous for a mutant beta-thalassemia allele. If the frequency of beta-thalassemia is 1/1600 persons, what is the probabilty that your prospective spouse is heterozygous for a mutant beta-thalassemia allele?

765


I am a mechanical student.And have cleared the written for NTPC. Please suggest what and how to prepare for the interview.i have got only 2-3 weeks in hand.

456


Hellow this is ravindra wanted to know about excise duty rates pls suggest

437


What should be the minimum limit of a working standard?

3755


How many ways to overcome a missing values???

1114


Describe about the Pile test methods, which are used in Industrial & Multistory Buildings in general.

543




IBM C Interview Questions
    C (84)
  • OOPS (37)
  • C++ General (9)
  • MFC (2)
  • COM DCOM (1)
  • VC++ AllOther (1)
  • Delphi (11)
  • Programming Languages AllOther (31)
  • PHP (16)
  • ASP (5)
  • CGI Perl (7)
  • JavaScript (6)
  • VB Script (15)
  • JSP (6)
  • Shell Script (6)
  • AJAX (1)
  • Ruby on Rails (1)
  • Scripts AllOther (2)
  • SNMP (1)
  • TCP IP (10)
  • UDP (1)
  • Protocols AllOther (3)
  • Networking Administration (28)
  • Networking Security (3)
  • Networking AllOther (9)
  • Visual Basic (5)
  • C Sharp (35)
  • ASP.NET (37)
  • VB.NET (3)
  • ADO.NET (11)
  • IIS (9)
  • Crystal Reports (3)
  • BizTalk (3)
  • Dot Net Framework (14)
  • Dot Net WindowsForms (2)
  • Dot Net General (3)
  • Dot Net AllOther (4)
  • Exchange Server (12)
  • Microsoft Related AllOther (2)
  • Oracle General (39)
  • Architecture (1)
  • Database Management (11)
  • Forms Reports (7)
  • Oracle AllOther (9)
  • SQL Server (61)
  • MySQL (3)
  • DB Architecture (1)
  • DB Administration (11)
  • DB Development (9)
  • SQL PLSQL (40)
  • Databases AllOther (7)
  • Windows Threads (2)
  • Windows General (6)
  • Windows AllOther (26)
  • Linux Commands (18)
  • Linux Threads (2)
  • Linux IPC (2)
  • Linux Socket Programming (1)
  • Linux System Calls (5)
  • Linux General (3)
  • Linux AllOther (19)
  • Unix Commands (33)
  • Unix IPC (2)
  • Unix Socket Programming (1)
  • Unix General (5)
  • Unix AllOther (11)
  • Solaris Commands (30)
  • Solaris Threads (3)
  • Solaris System Calls (2)
  • Solaris General (10)
  • Solaris AllOther (82)
  • Operating Systems General Concepts (16)
  • Data Structures (1)
  • Operating Systems AllOther (2)
  • WinRunner (10)
  • Load Runner (28)
  • QTP (175)
  • Test Director (3)
  • Rational TestSuite (4)
  • Silk Test (9)
  • Selenium (1)
  • Automation Testing AllOther (10)
  • Manual Testing (272)
  • QA Concepts (23)
  • Mobile Testing (3)
  • Test Cases (21)
  • Test Documents Reporting (2)
  • Testing AllOther (12)
  • Apache (1)
  • Servers AllOther (6)
  • COBOL (136)
  • JCL (131)
  • CICS (31)
  • DB2 (78)
  • IMS (11)
  • IDMS (1)
  • Natural (6)
  • Assembler (1)
  • QMF (2)
  • MVS (2)
  • OS390 (2)
  • VSAM (11)
  • Sysplex (1)
  • IBM MainFrame AllOther (39)
  • RPG400 (57)
  • DB400 (3)
  • COOLPLEX (1)
  • IBM AS400 AllOther (30)
  • IBM PL/1 (1)
  • Core Java (77)
  • Advanced Java (7)
  • Swing (2)
  • EJB (4)
  • Servlets (17)
  • Struts (16)
  • JDBC (11)
  • JMS (2)
  • SunOne (1)
  • J2EE (3)
  • Weblogic (30)
  • Websphere (7)
  • Java J2EE AllOther (6)
  • J2ME (1)
  • Java Related AllOther (4)
  • MQSeries (15)
  • Middleware AllOther (10)
  • HTML DHTML (3)
  • XML XSLT RSS (6)
  • Flash Action Scripting (1)
  • SOAP (1)
  • Web Related AllOther (2)
  • Teradata (41)
  • Business Objects (66)
  • Cognos (171)
  • Informatica (178)
  • Actuate (3)
  • Ab Initio (54)
  • Data Stage (145)
  • SAS (5)
  • Micro Strategy (2)
  • ETL (9)
  • Data Warehouse General (25)
  • HR Questions (24)
  • Design Patterns (6)
  • Requirements Management (1)
  • Project Planning (2)
  • Project Management (2)
  • Software Design AllOther (2)
  • CTC (1)
  • Debugging AllOther (3)
  • Clear Case (10)
  • Version Control AllOther (1)
  • Vi Editor (1)
  • Telecom Protocols (1)
  • ISDN (2)
  • Telecom General (2)
  • SAP Basis (144)
  • SAP ABAP (299)
  • SAPScript (13)
  • SAP SD (307)
  • SAP MM (55)
  • SAP QM (4)
  • SAP PP (34)
  • SAP PM (6)
  • SAP PS (1)
  • SAP FI CO (258)
  • SAP HR (32)
  • SAP CRM (37)
  • SAP SRM (2)
  • SAP APO (2)
  • SAP Business Warehouse (29)
  • SAP Security (154)
  • SAP Interfaces (2)
  • SAP Netweaver (20)
  • SAP ALE IDocs (8)
  • SAP B1 (15)
  • SAP AllOther (11)
  • CRM General (7)
  • Siebel (55)
  • ERP General (3)
  • Oracle Apps Technical (53)
  • Oracle Apps Financial (74)
  • Oracle Apps HRMS (6)
  • Oracle Apps CRM (1)
  • Oracle Apps SCM (10)
  • Oracle Apps AllOther (1)
  • ERP CRM AllOther (1)
  • VLSI (4)
  • Client Server General (4)
  • AI Algorithms (1)
  • AI AllOther (1)
  • Cryptography Algorithms (1)
  • WebMethods (16)
  • TIBCO (18)
  • BPM (1)
  • EAI AllOther (1)
  • Visual Effects (1)
  • Requirement Management (5)
  • Risk Analysis (6)
  • Estimation Analysis (4)
  • Planning & Integration (4)
  • Software Quality Analysis (3)
  • Software Integration & Release (1)
  • Program Management (4)
  • Micro Biology (1)
  • Bio Informatics (1)
  • Nuclear Physics (1)
  • Organic Chemistry (1)
  • Health Pharma AllOther (1)
  • Civil Engineering (3)
  • Mechanical Engineering (8)
  • Electrical Engineering (40)
  • Electronics Communications (26)
  • Chemical Engineering (2)
  • Instrumentation (4)
  • Engineering AllOther (17)
  • Business Administration (11)
  • Marketing Sales (14)
  • Finance (16)
  • Human Resources (16)
  • Personnel Management (1)
  • IT Management (5)
  • Non Technical (3)
  • Business Management AllOther (12)
  • Audit (5)
  • CompanyAffairs CS (3)
  • Taxation (20)
  • Accounting General (55)
  • Accounting AllOther (81)
  • Call Centre AllOther (284)
  • Government (1)
  • UPSC General Studies (3)
  • UPSC AllOther (3)
  • SSC General Science (1)
  • SSC General Studies (6)
  • RRB (4)
  • POs (2)
  • BSRB Clerical (2)
  • Group I (4)
  • Group II History (3)
  • Group II AllOther (2)
  • Group II Political Science (1)
  • General Studies (2)
  • APPSC AllOther (10)
  • General Knowledge_Current Affairs (18)
  • Government AllOther (2)
  • Teaching (1)
  • Funny Interview Questions (5)
  • Everything Else AllOther (13)
  • English (12)
  • General Aptitude (67)
  • Puzzles (6)
  • Placement Papers (22)
  • CCNA (42)
  • CCDA (1)
  • Microsoft Certifications (6)
  • Sun Certifications (6)
  • CISA Certification (2)
  • Oracle Certifications (5)
  • ISTQB Certification (5)
  • Certifications AllOther (6)
  • H1B Visa (3)
  • USA Student Visa F1 Visa (5)
  • L1 Visa (4)
  • USA Immigration Visa (1)
  • USA Business Visa B1 Visa (2)
  • USA Dependent Visa H4 Visa (2)
  • USA AllOther Visa (2)
  • UK Visa (1)
  • Australia Visa (1)
  • Canada Visa (3)
  • C Code (8)
  • C++ Code (7)
  • J2SE Code (2)
  • J2EE Code (2)
  • C Sharp Code (1)
  • ADO.NET Code (1)
  • JSP Code (1)
  • GATE (3)
  • IIT JEE (1)
  • CAT (1)
  • OPENMAT (1)
  • ICET (2)
  • Oracle Errors (14)
  • SQLServer Errors (1)
  • Scripts Errors (2)