C Aptitude Questions

Apr 17 • Competition Sample Papers, Engineering Sample Papers, Notes • 14265 Views • 6 Comments on C Aptitude Questions

C Aptitude Questions are the very important topic which are generally ask in the interviews for any placement activity.We have described many Questions of C Language student can practice and adopt these questions for increasing their efficiency to appear during placement activity.In this page the Interview questions on C Language,Questions on C Functions,Questions on C Control statemet,Questions on C Operators are given in detail and covered each concept on that topics that will very helpful for the students.

Introduction of C Language

C Language is the fundamental Language whose concept used to develop any other language or Software.C Language is the compact,fast and powerful language initially developed by Dennish Ritchie in 19714.C define the basic concept and principal to develop new Technology.

Questions on C Language:

C Language Sample Paper

C Language

 

Predict the output or error(s) for the following:

1.void main(){
int const * p=5;
printf(“%d”,++(*p));
}

 

2. main(){
char s[ ]=”man”;
int i;
for(i=0;s[ i ];i++)
printf(“\n%c%c%c%c”,s[ i ],*(s+i),*(i+s),i[s]);
}

 

3. main(){
float me = 1.1;
double you = 1.1;
if(me==you)
printf(“I love U”);
else
printf(“I hate U”);
}

 

4. main() {
static int var = 5;
printf(“%d “,var–);
if(var)
main();
}

 

5. main(){
int c[ ]={2.8,3.4,4,6.7,5};
int j,*p=c,*q=c;
for(j=0;j<5;j++) {
printf(” %d “,*c);
++q; }
for(j=0;j<5;j++){
printf(” %d “,*p);
++p; }
}

 

6. main(){
extern int i;
i=20;
printf(“%d”,i);
}

 

7. main(){
int i=-1,j=-1,k=0,l=2,m;
m=i++&&j++&&k++||l++;
printf(“%d %d %d %d %d”,i,j,k,l,m);
}

 

8. main(){
char *p;
printf(“%d %d “,sizeof(*p),sizeof(p));
}

 

9. main(){
int i=3;
switch(i) {
default:printf(“zero”);
case 1: printf(“one”);
break;
case 2:printf(“two”);
break;
case 3: printf(“three”);
break;
}
}

 

10. main(){
printf(“%x”,-1<14;
printf(“i=%d”,i);
}

 

11. main(){
char s[]={‘a’,’b’,’c’,’\n’,’c’,”};
char *p,*str,*str1;
p=&s[3];
str=p;
str1=s;
printf(“%d”,++*p + ++*str1-32);
}

 

12. main(){
int a[2][2][2] = { {10,2,3,4}, {5,6,7,8} };
int *p,*q;
p=&a[2][2][2];
*q=***a;
printf(“%d—-%d”,*p,*q);
}

 

13. main(){
struct xx{
char name[]=”hello”;
};
struct xx *s;
printf(“%s”,s->name);
}

 

14. main(){
struct xx{
int x;
struct yy{
char s;
struct xx *p;
};
struct yy *q;
};
}

 

15. main()
{
printf(“\nab”);
printf(“\bsi”);
printf(“\rha”);
}

 

16. main()
{
int i=5;
printf(“%d%d%d%d%d%d”,i++,i–,++i,–i,i);
}

 

21. #define square(x) x*x
main()
{
int i;
i = 64/square(4);
printf(“%d”,i);
}

17. main()
{
char *p=”hai friends”,*p1;
p1=p;
while(*p!=”) ++*p++;
printf(“%s %s”,p,p1);
}

 

18. #define a 10
main()
{
#define a 50
printf(“%d”,;
}

 

19. #define clrscr() 100
main(){
clrscr();
printf(“%d\n”,clrscr());
}

20. main(){
printf(“%p”,main);
}

These Questions is very important in C Aptitude Questions point of view practice on these question to improve skills and efficiency.

View More Questions in C Language

Questions on Functions in C Language

Interview Questions on Operators in C

Important Questions on Control statements in C

Related Topics

C C++ Aptitude questions

Tell us Your Queries, Suggestions and Feedback

Your email address will not be published. Required fields are marked *

6 Responses to C Aptitude Questions

  1. Silicone Wristband says:

    I’ve bern surfing online more than 4 hours today, yet I never folund any
    intesresting article like yours. It is pretty worth enough for me.
    In my opinion, if all web ownrs and bloggers made
    good content as you did, the internet will bee much more useful than ever before.|
    I could not refrain from commenting. Perfectly written!|
    I will rright away clutch your rss fed as I ccan not
    find your e-mail subscription link or newslettr service.
    Do you’ve any? Please permit me recognise in order that I may just
    subscribe. Thanks.|
    It’s appropriate time to make some plans for the
    future and it’s time to be happy. I’ve read this post
    and if I could I want to suggest you ome interesting things or suggestions.
    Maybe you can write next articles referring to this article.
    I desire to read even more things about it!|
    It’s appropriate time to make some lans for the
    longer term and it is time to be happy. I’ve read this post
    and iif I coud I desire tto counsel you some attention-grabbing things or advice.

    Perhaps yoou could write next articles relating to this
    article. I desire to read more issues approximately it!|
    I have been surfing online more than three hours these days, yet I never found any
    attention-grabbing article like yours. It is pretty price sufficient for me.
    In my view, if all wwebsite owners and bloggers maee just right content as you probably did,
    the net can be a lot more useful than ever before.|
    Ahaa, its nice discussio on the topic of this article here at this webpage, I
    have read all that, soo now me also commenting
    here.|
    I am sure this article has touched all the internet visitors, its really really pleasant piece of writing on building uup nnew web site.|
    Wow, this post is nice, my younger sister is analyzing such things, therefore I am
    going to tell her.|
    bookmarked!!, I really like your website!|
    Wayy cool! Some extremely valid points! I
    appreciate you writing this posst plus the restt of the site iss also
    really good.|
    Hi, I doo think thijs is a greaat web site. I stumbledupon it ;
    ) I will return yet agaun since i have book-marked it.

    Money and freedom is the best way to change, may youu be rich and continue to guide other people.|
    Woah! I’m really enjoying the template/theme of
    this blog. It’s simple, yett effective. A lot
    of times it’s tough to gett thst “perfect balance” between superb
    usability and visual appearance. I must say you have done a amazing job with this.
    In addition, the bllg loads extremely quick for me on Safari.
    Excellent Blog!|
    These are really wonderful ideas in concerning blogging.
    You have touched some nice points here. Any way eep up wrinting.|
    I love what you guys aree usually up too. This kind off
    clever work and exposure! Keep up the superb works guys I’ve added
    you guys to our blogroll.|
    Hi there! Someone in my Faceebook group shared this sitee with
    us so I came to chefk it out. I’m definitely enjoying the information. I’m book-marking and will be tweeting this to my
    followers! Terrific blog and outstanding style and
    design.|
    I really like what you guys are usually up too.
    This sort of clever work and exposure! Keep up the very good
    works guys I’ve added yoou guys too my personal blogroll.|
    Hi would youu mind stating wjich blpg platform you’re using?
    I’m going to start my own blog soon but I’m having a tough
    time deciding between BlogEngine/Wordpress/B2evolution and
    Drupal. The reason I ask is because your design and stygle
    seems different then most blogs and I’m looking for something unique.
    P.S My apologies ffor getting off-topic but I had to ask!|
    Howdy would you mind letting me knmow which hostijg company you’re using?

    I’ve loaded your blog in 3 different browsers and I
    must say this blog loads a lot quicker then most.
    Can you recommend a good hosting provider att a reasonable
    price? Many thanks, I appreciate it!|
    Everyone loves it whenever people get together and
    share ideas. Great blog, stick with it!|
    Thank you for the auspicious writeup. It in fact was a amusement account it.
    Look advanced to more added agreeable from you! However, how coulkd we communicate?|
    Hey there just wantrd to give yoou a quick heads up.

    The words in your content seem to bee running off the screen in Opera.
    I’m not sure if this is a format issue or something to do with browser compatibility but I figured I’d post to
    let you know. The design look great though! Hope you get the problem resolved soon. Cheers|
    This is a topic that’s near to my heart…Best wishes!
    Exactly where are your contact details though?|
    It’s vedry trouble-free to find out any matter on net as compared to
    textbooks, as I found tbis paragraph att tjis
    website.|
    Does your website have a contact page? I’mhaving problems locating it but, I’d
    like to send you an email. I’ve got some recommedations forr yolur blog
    you might be interested in hearing. Either way, great blog and I look forward to seeing it expand over time.|
    Hey there! I’ve been reading your blog for a long timee now and
    finally got the bravery too go ahead and give you a shout out from New
    Caney Texas! Just wanted to tell you keep up the good work!|
    Greetings from Ohio! I’m bored to tears at work so I decide to browse your site
    on my iphone during lunch break. I really like tthe information you provide here and can’t wait to take
    a look whedn I get home. I’m amazed at how quick your blkg loaded on my cell phone ..
    I’m not even using WIFI, just 3G .. Anyways, amazing
    blog!|
    Its like you read my mind! You appear to know so much approximately this, such as
    you wrote the book in it or something. I thimk
    that you just can ddo with some % to pressure thhe message
    home a bit, however instead of that, this is great blog.

    An excellent read. I’ll definitely bee back.|
    Ivisited multiple sites but the audio feature for audio songs existing at thgis web site is in fact
    superb.|
    Hello, i read your blog from time to time and i own a similar one and i was just
    curious if you get a lot off spam feedback?
    If so how do youu protect against it, any plugin or anything youu can suggest?
    I get so much lately it’s driving me mad so any assistance is very much appreciated.|
    Greetings! Very useful advice within this
    article! It’s the littfle changes that produce thee greatest changes.
    Thanks a lot for sharing!|
    I reaally love your site.. Excellet colors & theme.
    Did you build this web site yourself? Please reply back ass I’m hoping to create my very own blog and want to find out wheree you
    got this from or exactly what the theme is named. Thanks!|
    Hello there! This article could not be written much better!
    Looking though this post reminds me of my previous roommate!
    He constantly kept talking about this. I most certainly will forward
    this article to him. Pretty sure he will have a very good
    read. Thanks for sharing!|
    Whoa! This blog looks exactly likke my old one! It’s on a entirely different subject but it has
    pretty much the same layout and design. Outstanding choice
    of colors!|
    There’s definately a lot to learn about this topic.
    I lve all of the points you have made.|
    You’ve made some really good points there. I checked
    oon the internet to learn more aboout the issue and found most individuals will go along with your
    views on this website.|
    Hi there, I check your blolgs daily. Your humoristic style is witty,
    keep it up!|
    I simply couldn’t depart your site prior tto suggesting thjat I really loved thhe usual information an individual provide
    in your guests? Is gooing tto be again incessantl in order
    to inspect new posts|
    I needed to thank you forr this great read!! I certainly enjoyed every little bit of
    it. I have you saved as a favorite to look at new things you post…|
    What’s up, just wanted to say, I enjoyed this post. It was funny.
    Keep on posting!|
    Hi there, I enjoy reading all of your article. I like
    to write a littl comment to support you.|
    I always spent my half an hhour to read this web site’s articles
    or reviews all the time along with a cup of coffee.|
    I all the time emailed this web site post page to aall my friends, because if like to read it next my contacts will too.|
    My coder is trying too persuade me to move
    to .net from PHP. I have always disloked the idea because of thhe costs.
    But he’s tryiong none the less. I’ve been usibg Movable-type on a variety of websites
    for about a year and am worried abiut switching tto another platform.

    I have heard great things about blogengine.net. Is there a
    way I can transfer all my wordpress content into it?
    Any help would be greatly appreciated!|
    Hi! I couldd have sworn I’ve been to this ssite before
    bbut after going through some of the posts I ralized it’s
    new to me. Regardless, I’m certainly pleased I found it and I’ll bbe bookmarking it and
    checking back frequently!|
    Terrific article! That iis the kind of information that are ssupposed to be shared acrross the net.
    Disgdace on Google ffor not positiining this puut up higher!
    Come on over annd talk over with my site . Thanks =)|
    Heya i am for the first time here. I came across this board andd I
    find It truly useful & itt helped mme out a lot.

    I hope to give something back and helpp others like you aided me.|
    Greetings, There’s noo doubt that your web site could be having weeb browser compatibility problems.
    Whenever I take a look at your website in Safari, it
    looks fine however, when opening in Internet Explorer, iit has some overlapping issues.
    I simply wanted to give you a quick heads up! Apart from
    that, great website!|
    Somebody essentially lend a hajd to mqke seriously posts I might state.
    That is the very ffirst time I frequented your website page annd up
    to now? I surprised with the research you made to create this actual publish incredible.
    Great task!|
    Heyaa i am for the first tike here. I came across tbis board and I to find It truly useful & itt helped me out a lot.
    I’m hoping tto offer something back and hhelp others such as you helped me.|
    Hi there! I just wisxh to offer you a bbig thumbs up for yiur excellent info you have right here on thi post.

    I’ll be coming back to your website for more soon.|
    I always used to read piece of writing in news papers but now as I am a user of internet therefore from now I am
    using net for articless or reviews, thanks
    to web.|
    Your means of explaining everything in this piece of writing is truly
    pleasant, every one caan simply know it, Thanks a lot.|
    Hello there, I discovered your blog via Googlle at the same
    time as looking for a related topic, your site came up, it seems
    to be great. I have bookmarked it in my google bookmarks.

    Hello there, imply turned into aware of your weblog via
    Google, and located that it’s really informative.
    I’m gonna be careful ffor brussels. I’ll be grateful in case you continue this in future.
    Many other people will probably be benefited froim your writing.
    Cheers!|
    I’m curious to find out what blog system you are utilizing?
    I’m experiencing some small seccurity problems with
    my latest websdite and I’d like to fund something more safeguarded.
    Do you have any suggestions?|
    I am really impressed withh your writing skills and also with the layout on your weblog.
    Is this a paid theme or did you customize it yourself? Anyway keep up the exccellent quality writing, it’s raree
    to see a great blog like this one nowadays.|
    I am really inspired along with your writkng talents and also with thhe layout in your blog.

    Is that this a paid subject matter or diid you modify
    it yourself? Either way keeep up the excellent qualit writing, it’s rare to look a nice blog
    likke this one today..|
    Hi, Neat post. There is an issue along wwith your website
    in web explorer, could check this? IE still is the marketplace leader and a big element
    of people will omit your fantastic writing because of this
    problem.|
    I am not sure where you’re getting your info, but good topic.
    I needs to spend some time learning much more or understnding more.

    Thanks for magnificent information I was looking
    for this info for my mission.|
    Hello, i think that i saw you visited my blog so i came to “return the favor”.I aam trying
    to find things to enhance my site!I suppose its ok to use some of your i

  2. Khyati Miglani says:

    Test your c skills here. It is a golden opportunity don’t miss it and see where you stand. C is a fundamental language. This sample paper help CSE and IT students. Must go through it.

  3. RANJIT SINGH says:

    In every IT sector,when they are hiring freshers(B.TECH) they are conducting technical round in which most of the question are being asked from C/C++.So to get jobs in a IT sector candidate must have a knowledge of this language.This sample paper helps them a lot in cracking that round.

  4. Soubarna Biswas says:

    C is a very important language for IT job seekers. this sample paper will help them a lot.

  5. Shruti Priya says:

    C language is the fundamental language of all the computer languages.This article consists of the aptitude questions based on outputs and finding out errors… After solving this questions you will able to solve the conceptual questions.

  6. Rashmi Rani says:

    C is one of the fundamental and basic subject in the field of software studies. Almost every software company demand for the knowledge in c by the students they recruit. Before understanding c one cannot step to other high level languages. So prepare this before opting for other subjects in software. This sample paper consists of different programming questions in c.

« »