1)How do we check whether a linked list is circular?
2)What is the output of this program?
#include
##include
main()
{
typedef union
{
int a;
char b[10];
float c;
}
Struct;
Struct x,y = {100};
x.a = 50;
strcpy(x.b,"hello");
x.c = 21.50;
printf("Union x : %d %s %f \n",x.a,x.b,x.c );
printf("Union y : %d %s %f \n",y.a,y.b,y.c);
}
3)What is a Null object?
4)Name some pure object oriented languages.
5)What is a container class? What are the different types of container classes?
6)What will be the output of the following program:
#include
main()
{
printf("%x",-1<<4);
}
7)What are the major differences between C and C++?
8)What is an incomplete type?
9)What are printf and scanf, call by reference or call by value?
10)What is a const pointer?
11)When should a type cast be used and when should it not be used?
12)Which is the easiest sorting method?
13)Which is the quickest sorting method?
14)Which are the best sorting algorithms to sort a linked list?
15)What is a preprocessor and what will it do for a program?
16)How can a string be converted into a number?
17)How can a number be converted into a string?
18)What is a heap?
19)Why does n++ execute much faster than n+1?
20)What is modular Programming?
21)Which expression always returns true and which expression always returns false?
22)What is the difference between "malloc" and "calloc"?
23)Is C
a)A low level language
b)A middle level language
c)A high level language ?
24)Why doesn't C support function overloading?
25)What is the difference between global int & static int declaration?
Click here for the solutions
Hello. Could you please clear the 19th Question. The question asks difference between n++ and n+1, but the solution gives the explanation for n++ and ++n .
ReplyDeleteBut i hope the question really meant d/b n++ and ++n , coz i was asked the same question in an interview, n i gave this same answer.! fingers crossed.
Thank you again.
+n is faster than n++ is faster than n=n+1
DeleteMachine usually have increment x as well as add const to x
In case of n++, you will have 2 memory access only (read n, inc n, write n )
In case of n=n+1, you will have 3 memory access (read n, read const, add n and const, write n)
Tks very much for your post.
DeleteAvoid surprises — interviews need preparation. Some questions come up time and time again — usually about you, your experience and the job itself. We've gathered together the most common questions so you can get your preparation off to a flying start.
You also find all interview questions at link at the end of this post.
Source: Download Ebook: Ultimate Guide To Job Interview Questions Answers:
Best rgs
Great Article android based projects
DeleteJava Training in Chennai
Project Center in Chennai
Java Training in Chennai
projects for cse
The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training
Thank you very much. Your blog is well presented and easy to navigate. But try to use blockquotes for codes to differentiate them from paragraphs.
ReplyDeleteContent found here are quite different and educative.
www.hunter4u.com
questios are very logical for basics
ReplyDeleteansweers should b beside the questions
nice
ReplyDelete2nd question:
ReplyDeletehow y.b value is d?
give the answer for that questions
ReplyDeletesent me more c question
ReplyDeleteplease give ans to the ques
ReplyDeleteC Interview Questions and Answers for campus placement preparation at gyantonic.com
ReplyDeleteamzing qestions...fully satisfied with answrs.....
ReplyDeleteThis section covers C programs often asked in campus interviews and freshers walk-in. It helps job seekers who are about to attend TECHNICAL interview round.
ReplyDeleteHere you will find simple C programming questions with answers basically asked in technical interviews.
Sample C Program To Swap Two Numbers Without Using Temporary Variables.
Sample C Program To Print First Ten(10) Natural Numbers.
Sample C Program To Find Factorial Of A Number.
Sample C Program To Print Fibonacci Series Upto 100.
Sample C Program To Find The Roots Of A Quadratic Equation.
Sample C Program To Count The Number Of Times The Largest Digit Occurs In A Number.
Sample C Program To Print Number Of Vowels, Consonants, Characters, Words & Spaces In A Line Of Text.
Sample C Program To Display A Sequence Using Stars.
Sample C Program To Print A Star Pyramid.
Sample C Program To Print Floyd’s Triangle.
Sample C Program To Transpose A Matrix.
Sample C Program To Add Two Matrices.
Sample C Program For Entering An Array Of Elements.
Sample C Program For Deleting An Element From An Array.
Sample C Program For Inserting An Element In An Array.
plz give me answer of these questions
ReplyDeleteI enjoy this 25 questions on c interview questions, but I want some basic c interview questions along with answer like website
ReplyDeleteprogrammerinterview
pls answer these question
ReplyDeletehere i can improve my knowledge about c...this is very useful questions..thank you for the author...can u send me more questions and puzzles?
ReplyDeleteplz give me answer for those questions
ReplyDeleteBASIC C INTERVIEW QUESTIONS AND ANSWERS
ReplyDeletehttp://www.tecz.org/interview-questions/105-basic-c-interview-questines-and-answers.html
Hey, could you provide the answers to these question. Here is another site, with some interesting C interview questions along with their answers,
ReplyDeletehttp://www.codewithc.com/most-common-c-interview-questions-answers/
its simply nice
ReplyDeleteFrequently Asked C Language Interview Questions and answers
www.fresherventure.net/frequently-asked-c-language..
This comment has been removed by the author.
ReplyDeleteHi.frnds I want to learn C program easily ...please help me
ReplyDeleteHi.frnds I want to learn C program easily ...please help me
ReplyDeleteThanks for your ideas. You can also find the details on Affity Solutions, at the C Developers. The main object of the Affity Solutions is to provide quality web services and is among the few software development company in Nagpur.
ReplyDeleteThose interested to learn C programming or those who wanna brush up thr knowledge on C language, head to http://makethingseasy.in/pdfs1.html
ReplyDeletefor a list of best C programming books in downloadable PDF format.
Hope itl be helpful and useful as well..
Thank you for such a wonderful Information !!
ReplyDeleteHere is a list of Top LINUX INTERVIEW QUESTIONS
Veritas Cluster Interview Questions
SAMBA Server Interview Questions
Linux FTP vsftpd Interview Questions
SSH Interview Questions
Apache Interview Questions
Nagios Interview questions
IPTABLES Interview Questions
Ldap Server Interview Questions
LVM Interview questions
Sendmail Server Interview Questions
YUM Interview Questions
NFS Interview Questions
Read More at :- Linux Troubleshooting
Good collection...
ReplyDeletec++ interview questions and answers
Great work. Also check out the video on C Interview Questions. C Interview Questions - Video Guide
ReplyDeleteTks very much for your post.
ReplyDeleteAvoid surprises — interviews need preparation. Some questions come up time and time again — usually about you, your experience and the job itself. We've gathered together the most common questions so you can get your preparation off to a flying start.
You also find all interview questions at link at the end of this post.
Source: Download Ebook: Ultimate Guide To Job Interview Questions Answers:
Best rgs
Great and Useful Article.
ReplyDeleteJava Online Training
Online Java Course
Java Course Online
J2EE training
online J2EE training
Best Recommended books for Spring framework
Java Interview Questions
Java Training Institutes in Chennai
Java Training in Chennai
J2EE Training in Chennai
java j2ee training institutes in chennai
Java Course in Chennai
This blog awesome and i learn a lot about programming from here.The best thing about this blog is that you doing from beginning to experts level.
ReplyDeleteLove from
Thank you. If you have interest to work with Acccnture, then apply through the following link as soon as possible
ReplyDeleteaccenture jobs for freshers in bangalore
THANKS SO MUCH
ReplyDeletehadoop training in chennai
This comment has been removed by the author.
ReplyDelete• best and useful sites and I like the sites
ReplyDeleteunix training in chennai
Very Useful information that i have found. donot stopand Please keep updating us..... Thanks
ReplyDeleteHey, very nice blog!!Hi there, I enjoy reading through your article post ->
ReplyDeletehire app developer
Wow..!! This is an adorable post as the information shared in this post is very helpful. I am thankful to get this post when i was searching Web Design And Development Company India
ReplyDeleteHey Brother,
ReplyDeleteI genuinely do look forward for the time where you post some new write ups. Your blog make me feel so educated! Continue soaring and writing please.
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
int A[3][2]={{1,2},
{4,5},
{7,8}};
int B[3][1]=
{{0},
{4,},
{7,}};
i want to merge array A and B into a single array C ,which should appear like
int C= 0 1 2
4 4 5
7 7 8
Thanks a lot. This was a perfect step-by-step guide. Don’t think it could have been done better.
Thanks,
Irene Hynes
Thank your valuable content.we are very thankful to you.one of the recommended blog.which is very useful to new learners and professionals.content is very useful for hadoop learners
ReplyDeleteBest ASP.NET MVC Online Training Institute
Best Spring Online Training Institute
Best Devops Online Training Institute
Best Datascience Online Training Institute
Best Oracle Online Training Institute
Best AWS Online Training Institute
Best AngularJS Online Training Institute
Best C-language Online Training Institute
Thanks for Sharing This Article.It is very so much valuable content. I hope these Commenting lists will help to my website
ReplyDeletebest angular js online training
Thanks for Sharing This Article.It is very so much valuable content. I hope these Commenting lists will help to my website
ReplyDeleteworkday studio online training
best workday studio online training
top workday studio online training
Thanks for Posting Such an Useful info..
ReplyDeleteaws training videos
I like your post very much. It is very useful for my research. I hope you can share more info about this. Keep posting Mulesoft Developer Certification
ReplyDeleteservicenow developer Certification
Workday training
Workday financial training
Workday HCM Online training
blog commenting : Thanks for sharing this information. I really Like Very Much.
ReplyDeletebest angular js online training
blog commenting : Thanks for sharing this information. I really Like Very Much.
ReplyDeletebest angular js online training
ReplyDeleteI am reading your post from the beginning, it was so interesting to read & I feel thanks to you for posting such a good blog, keep updates regularly.I want to share about Mulesoft training in hyderabad .
Thanks for sharing this information. I really Like Very Much.
ReplyDeleteangular js online training
Thanks for Sharing This Article.It is very so much valuable content. I hope these Commenting lists will help to my website
ReplyDeletedevops online training
best devops online training
top devops online training
Thanks for Sharing This Article.It is very so much valuable content. I hope these Commenting lists will help to my website
ReplyDeletedevops online training
best devops online training
top devops online training
Thanks for Sharing This Article.It is very so much valuable content. I hope these Commenting lists will help to my website
ReplyDeletedevops online training
best devops online training
top devops online training
Thanks for Sharing This Article.It is very so much valuable content. I hope these Commenting lists will help to my website
ReplyDeleteangular js online training
best angular js online training
top angular js online training
Thanks for Sharing This Article.It is very so much valuable content. I hope these Commenting lists will help to my website
ReplyDeletebest mulesoft online training
I have found great and massive information on
ReplyDeleteWorkday payroll training
Workday financials training
Workday training
Python online training
Mulesoft training
Servicenow Online training
Java training
Salesforce training
Mulesoft Online Training
which helps you also. Thanks for Posting
wow this post is amazing .. thanks for sharing please see my post also here is my post for
ReplyDeleteTop 10 best books to learn C Programming
Thanks for Sharing This Article.It is very so much valuable content. I hope these Commenting lists will help to my website
ReplyDeletedevops online training
best devops online training
top devops online training
Thanks for Sharing This Article.It is very so much valuable content. I hope these Commenting lists will help to my website
ReplyDeleteangular js online training
best angular js online training
top angular js online training
Thanks for Sharing This Article.It is very so much valuable content. I hope these Commenting lists will help to my website
ReplyDeleteblockchain online training
Thanks for Sharing This Article.It is very so much valuable content. I hope these Commenting lists will help to my website
ReplyDeleteangular js online training
best angular js online training
top angular js online training