GeekInterview.com
  I am new, Sign me up!
 

Ramco C


Ramco C

Questions: 34
Comments: 19
 Showing Questions 1-10 of 34 Questions
[1] 2 3 4 Next >>
 Sponsored Links

 
 Ramco C
Sorting Options :  

Write a C program to read a character, integer and floating point number and display the with a proper message
View Question | Asked by : seema

Find the output for the following C program#includeint SumElement(int *,int);void main(void){int x[10];int i=10;for(;i;){i--;*(x+i)=i;}printf("%d",SumElement(x,10));}int SumElement(int array[],int size){int i=0;float sum=0;for(;i

Find the output for the following C programmain(){int a=0;if(a=0) printf("Ramco Systemsn");printf("Ramco Systemsn");}
Only one time "Ramco Systems" will be printed 

Find the output for the following C programmain(){char *p1="Name";char *p2;p2=(char *)malloc(20);while(*p2++=*p1++);printf("%sn",p2);}
An empty string 

Find the output for the following C programmain(){int x=20,y=35;x = y++ + x++;y = ++y + ++x;printf("%d %dn",x,y);}
57; 94 

Find the output for the following C programmain(){int x=5;printf("%d %d %dn",x,x<<2,x>>2);}
5; 20; 1 

Find the output for the following C program#define swap1(a,b) a=a+b;b=a-b;a=a-b;main(){int x=5,y=10;swap1(x,y);printf("%d %dn",x,y);swap2(x,y);printf("%d %dn",x,y);}int swap2(int a,int b){int temp;temp=a;b=a;a=temp;return;}
10; 5 

Find the output for the following C programmain(){char *ptr = "Ramco Systems";(*ptr)++;printf("%sn",ptr);ptr++;printf("%sn",ptr);}
Samco Systems 

Find the output for the following C program#includemain(){char s1[]="Ramco";char s2[]="Systems";s1=s2;printf("%s",s1);}
Compilation error giving it cannot be a modifiable 'lvalue' 

Find the output for the following C program#includemain(){char *p1;char *p2;p1=(char *) malloc(25);p2=(char *) malloc(25);strcpy(p1,"Ramco");strcpy(p2,"Systems");strcat(p1,p2);printf("%s",p1);}
RamcoSystems 

View page [1] 2 3 4 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
# User Name Count
1sucheta 1
2manishsddiet 1
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