JobseekersIndia

Welcome to JobSeekersIndia.

JobSeekersIndia Provides Latest Job updates in India , Freshers Job Openings, WalkIn Updates, Off Campus Interviews, Government Jobs, IT/Software Jobs, Bank Jobs, BPO CallCenter Jobs Internships Jobs in Various industries, Interview question Papers, Interview Tips, Company Addresses, Placement papers, Internship projects, Details about companies, Resume Writing Tips, Fake companies List and More..

Search Your Dream Job Here

Showing posts with label Featured1. Show all posts
Showing posts with label Featured1. Show all posts

Software Company Addresses And Phone Numbers And Websites And Contact Details

Software Companies in Bangalore, Web design Companies in Bangalore Jobs in Bangalore Major Software Companies in Bangalore Addresses,   IT Companies Phone Numbers. Software Companies in Bangalore-A-List- Bangalore IT Software company address with phone number, software company websites. Phone numbers, IT Companies Websites. Top Companies in Bangalore / Bengaluru, MNC Companies in Bangalore Software Companies in Bangalore B List.List Of IT Companies in Bangalore Software Companies Addresses and Phone Numbers Web site Urls and Software companies Contact Details Indian Software IT Companies in Bangalore Top MNC Software Companies in BangaloreSoftware Companies in Chennai (A-Z)   Web design Companies in Chennai   Jobs in Chennai   Major Software Companies in Chennai,  Software Companies in Chennai-A-List- Chennai software company address with phone number, software company websites. Phone numbers











We Will Update Company Addresses in Other Locations Very Soon….
Please Give Your Suggestions As Comments…


Few Mistakes that may get your CV trashed- Tips To Write a Better Resume

In the current situation, it is very necessary for people to know the mistakes than can cost them an interview call. In an article published on Rediff, Kshpira Singh highlighted the five most common errors. These are outlined below:



A cluttered CV
CVs where people simply put all possible information and expect recruiters to scroll through them to find out relevant details. The only destiny these CVs have is getting the 'delete' key pressed and landing up in the trash bins.
HR people get hundreds of applications for a single position. They don't have the time to sift through your CV and see if each candidate suits their purpose. So, it is your job to make your CV as user-friendly, so that they can find the information they are looking for in a single glance.


Grammatical and spelling mistakes
Grammatical errors and spelling mistakes not only look shabby, but they reveal a lot about one?s attitude. If a HR manager receives a business proposal with grammar and spelling mistakes, the first thing he would think is, "Is this person really serious about the business?"

Similarly, a CV with grammatical errors and spelling mistakes will suggest that he does not care enough for this opportunity, you are lazy and you do not have an eye for detail. Nobody wants to hire an employee with any of these characteristics. So it's a given that such CVs are headed to the rejected pile.

Past failures and/or health problems
Your CV is not the place for you to talk about past failures or health problems, so keep them off paper. Some people may argue that almost everybody has the sense not to write about failures and health problems on CVs and while I agree with them, it's been known to happen.
So this pointer is for those who do commit this mistake. Take a look at your CV again and if you have addressed any of these problems directly or indirectly, it is wise to edit them out.

Current or expected CTC
Many people have developed the habit of writing about their current salary or expected salary on a CV, as they assume that all prospective employers are going to ask about it, or that most job notifications require it. It is advised not to mention it on the CV, unless specifically asked to do so.


Vague/unclear contact details
Picture this situation -- you have a menu card from a nearby restaurant in front of you. You like the dishes they serve and the price is right too. You are impressed by the fact that they deliver within 10 minutes. You pick up the phone to make a call, but are not able to find the telephone number on the menu card. You look a second time, but you are still not able to find it. You're hungry and there's another menu card from another restaurant right in front of you, which looks equally good.

What will you do? Won't you immediately place an order with the restaurant that offers a number and ask them to send the food ASAP? Later, you may realise that there was a phone number on the first menu card, hidden somewhere in a corner, but the opportunity is gone now. You may land up in a similar situation if your contact details are not clear or not easy to find for employers. Some other things to note here are:
·        Provide a phone number where potential employers can talk to you directly and don't have to go through your parents or friends.
·         Keep the e-mail addresses formal - mostly a combination of your first and last name
·         Keep the e-mail address small and uncomplicated to avoid any typing mistakes if employers decide to contact you online.


Writing a CV is not a difficult task. The best person to do it is you. The only thing you need is to analyse your candidature properly and present it well. You will need to draft and re-draft your CV many times before you are finally happy with it.



Various IT Software Companies Company Profiles (Updated)

Following are the some of the company profiles.. We will try to upload all company profiles As soon as possible..
Please give your feedback via comment...


 





Tags: Company Profile, Software Companies Company profiles, Company Profile 2012, new Company Profiles,Company profile pdf free download, 2012 company profile 2012, free download company profile,  Wipro Technologies Company profile, Wipro Technologies New Company Profile, Wipro technologies Profile 2012, Wipro Software company profile, Wipro India, Top IT Company Wipro Profile, Detail About Wipro Technologies,  Wipro technologies Chennai, Wipro technologies Bangalore, Wipro technologies Pune, Wipro technologies Hyderabad, Wipro technologies Mumbai, Wipro technologies India, TCS Company profile, IT Companies in India, Software Companies in India, Various IT Companies, IT Software Company List, HCL Technologies Company profile, HCL Technologies New Company Profile, HCL technologies Profile 2012, HCL Software company profile, HCL india, Top IT Company HCL Profile, Detail About HCL Technologies,  HCL technologies Chennai, HCL technologies Bangalore, HCL technologies Pune, HCL technologies Hyderabad, HCL technologies Mumbai, HCL technologies India, CTS Company profile, CTS New Company Profile, CTS Profile 2012, CTS Software company profile, CTS India, Top IT Company CTS Profile, Detail About CTS,  CTS Chennai, CTS Bangalore, CTS Pune, CTS Hyderabad, CTS Mumbai, CTS India, Google Company profile, Google New Company Profile, Google Profile 2012, Google Software company profile, Google India, Top IT Company Google Profile, Detail About Google,  Google Hyderabad, Google India 2012, Infosys Technologies Company profile, Infosys Technologies New Company Profile, Infosys technologies Profile 2012, Infosys Software company profile, Infosys India, Top IT Company Infosys Profile, Detail About Infosys Technologies,  Infosys technologies Chennai, Infosys technologies Bangalore, Infosys technologies Pune, Infosys technologies Hyderabad, Infosys technologies Mumbai, Infosys technologies India, Mahindra Satyam Company profile, Mahindra Satyam Technologies New Company Profile, Mahindra Satyam technologies Profile 2012, Mahindra Satyam Software company profile, Mahindra Satyam India, Top IT Company Mahindra Satyam Profile, Details About Mahindra Satyam, Mahindra Satyam technologies Chennai, Mahindra Satyam Bangalore, Mahindra Satyam Pune, Mahindra Satyam Hyderabad, Mahindra Satyam Mumbai, Mahindra Satyam India Company Profile, Oracle Company profile, Oracle Technologies New Company Profile, Oracle technologies Profile 2012, Oracle Software company profile, Oracle India, Top IT Company Oracle Profile, Details About INFOSYS Technologies, Oracle technologies Chennai, Oracle Bangalore, Oracle Pune, Oracle Hyderabad, Oracle Mumbai, Oracle India Company Profile, Polaris  Company profile, Polaris  Technologies New Company Profile, Polaris  technologies Profile 2012, Polaris  Software company profile, Polaris  India, Top IT Company Polaris  Profile, Details About Polaris , Polaris  technologies Chennai, Polaris  Bangalore, Polaris  Pune, Polaris  Hyderabad, Polaris  Mumbai, Polaris  India Company Profile, Tata Consultancy Services-TCS- Company profile, Tata Consultancy Services-TCS- Technologies New Company Profile, Tata Consultancy Services-TCS- technologies Profile 2012, Tata Consultancy Services-TCS- Software company profile, Tata Consultancy Services-TCS- India, Top IT Company Tata Consultancy Services-TCS- Profile, Details About TCS  Tata Consultancy Services, Tata Consultancy Services-TCS- technologies Chennai, Tata Consultancy Services-TCS- Bangalore, Tata Consultancy Services-TCS- Pune, Tata Consultancy Services-TCS- Hyderabad, Tata Consultancy Services-TCS- Mumbai, Tata Consultancy Services-TCS- India Company Profile,  CTS-Cognizant Technology Solution  Company profile, CTS-Cognizant Technology Solution  Technologies New Company Profile, CTS-Cognizant Technology Solution  technologies Profile 2012, CTS-Cognizant Technology Solution  Software company profile, CTS-Cognizant Technology Solution  India, Top IT Company CTS-Cognizant Technology Solution  Profile, Details About CTS Technologies, CTS-Cognizant Technology Solution  technologies Chennai, CTS-Cognizant Technology Solution  Bangalore, CTS-Cognizant Technology Solution  Pune, CTS-Cognizant Technology Solution  Hyderabad, CTS-Cognizant Technology Solution  Mumbai, CTS-Cognizant Technology Solution  India Company Profile, Tech Mahindra  Company profile, Tech Mahindra  Technologies New Company Profile, Tech Mahindra  technologies Profile 2012, Tech Mahindra  Software company profile, Tech Mahindra  India, Top IT Company Tech Mahindra  Profile, Details About CTS Technologies, Tech Mahindra  technologies Chennai, Tech Mahindra  Bangalore, Tech Mahindra  Pune, Tech Mahindra  Hyderabad, Tech Mahindra  Mumbai, Tech Mahindra  India Company Profile, Wipro WASE-Wipro Academy of Software Excellence  Company profile, Wipro WASE-Wipro Academy of Software Excellence   New Company Profile, Wipro WASE-Wipro Academy of Software Excellence   Profile 2012, Wipro WASE-Wipro Academy of Software Excellence  Software company profile, Wipro WASE-Wipro Academy of Software Excellence  India, Top IT Company Wipro WASE-Wipro Academy of Software Excellence  Profile, Details About WASE , Wipro WASE-Wipro Academy of Software Excellence   Chennai, Wipro WASE-Wipro Academy of Software Excellence  Bangalore, Wipro WASE-Wipro Academy of Software Excellence  Pune, Wipro WASE-Wipro Academy of Software Excellence  Hyderabad, Wipro WASE-Wipro Academy of Software Excellence  Mumbai, Wipro WASE-Wipro Academy of Software Excellence  India Company Profile,

Accenture Company profile, Accenture  New Company Profile, Accenture  Profile 2012, Accenture Software company profile, Accenture India, Top IT Company Accenture Profile, Details About Accenture , Accenture  Chennai, Accenture Bangalore, Accenture Pune, Accenture Hyderabad, Accenture Mumbai, Accenture India Company Profile,
Hexaware Technologies Company profile, Hexaware Technologies New Company Profile, Hexaware Technologies  Profile 2012, Hexaware Technologies Software company profile, Hexaware Technologies India, Top IT Company Hexaware Technologies Profile, Details About Hexaware Technologies, Hexaware Technologies  Chennai, Hexaware Technologies Bangalore, Hexaware Technologies Pune, Hexaware Technologies Hyderabad, Hexaware Technologies Mumbai, Hexaware Technologies India Company Profile, Jobs in Hexaware Technologies, Search Jobs in Hexaware Technologies, Career registration link for Hexaware Technologies, Start your career in Hexaware Technologies, Job Opening in Hexaware Technologies, Search Thousands of Jobs in Hexaware Technologies, Apply Online For Jobs in Hexaware Technologies, Jobs in Hexaware Technologies Apply Online now


IBM Company profile, IBM New Company Profile, IBM  Profile 2012, IBM Software company profile, IBM India, Top IT Company IBM Profile, Details About IBM, IBM  Chennai, IBM Bangalore, IBM Noida, IBM Hyderabad, IBM Mumbai, IBM India Company Profile,
 Jobs in IBM , Search Jobs in IBM , Career registration link for IBM , Start your career in IBM , Job Opening in IBM , Search Thousands of Jobs in IBM , Apply Online For Jobs in IBM , Jobs in IBM  Apply Online now

IGATE Company profile, IGATE New Company Profile, IGATE  Profile 2012, IGATE Software company profile, IGATE India, Top IT Company IGATE Profile, Details About IGATE, IGATE  Chennai, IGATE Bangalore, IGATE Pune, IGATE Hyderabad, IGATE Mumbai, IGATE India Company Profile, Jobs in IGATE, Search Jobs in IGATE, Career registration link for IGATE, Start your career in IGATE, Job Opening in IGATE, Search Thousands of Jobs in IGATE, Apply Online For Jobs in IGATE, Jobs in IGATE Apply Online now
IGATE Patni Company profile, IGATE Patni New Company Profile, IGATE Patni  Profile 2012, IGATE Patni Software company profile, IGATE Patni India, Top IT Company IGATE Patni Profile, Details About IGATE Patni, IGATE Patni  Chennai, IGATE Patni Bangalore, IGATE Patni Pune, IGATE Patni Hyderabad, IGATE Patni Mumbai, IGATE Patni India Company Profile,
Microsoft Company profile, Microsoft New Company Profile, Microsoft  Profile 2012, Microsoft Software company profile, Microsoft India, Top IT Company Microsoft Profile, Details About Microsoft, Microsoft  Chennai, Microsoft Bangalore, Microsoft Pune, Microsoft Hyderabad, Microsoft Mumbai, Microsoft India Company Profile,

Oracle Company profile, Oracle New Company Profile, Oracle  Profile 2012, Oracle Software company profile, Oracle India, Top IT Company Oracle Profile, Details About Oracle, Oracle  Chennai, Oracle Bangalore, Oracle Pune, Oracle Hyderabad, Oracle Mumbai, Oracle India Company Profile,

Mind Tree Company profile, Mind Tree New Company Profile, Mind Tree  Profile 2012, Mind Tree Software company profile, Mind Tree India, Top IT Company Mind Tree Profile, Details About Mind Tree, Mind Tree  Chennai, Mind Tree Bangalore, Mind Tree Pune, Mind Tree Hyderabad, Mind Tree Mumbai, Mind Tree India Company Profile,

Patni Computers Company profile, Patni Computers New Company Profile, Patni Computers  Profile 2012, Patni Computers Software company profile, Patni Computers India, Top IT Company Patni Computers Profile, Details About Patni Computers, Patni Computers  Chennai, Patni Computers Bangalore, Patni Computers Pune, Patni Computers Hyderabad, Patni Computers Mumbai, Patni Computers India Company Profile,
Adobe Systems Company profile, Adobe Systems New Company Profile, Adobe Systems  Profile 2012, Adobe Systems Software company profile, Adobe Systems India, Top IT Company Adobe Systems Profile, Details About Adobe Systems, Adobe Systems  Chennai, Adobe Systems Bangalore, Adobe Systems Pune, Adobe Systems Hyderabad, Adobe Systems Mumbai, Adobe Systems India Company Profile,
ITC Infotech Company profile, ITC Infotech New Company Profile, ITC Infotech  Profile 2012, ITC Infotech Software company profile, ITC Infotech India, Top IT Company ITC Infotech Profile, Details About ITC Infotech, ITC Infotech  Chennai, ITC Infotech Bangalore, ITC Infotech Pune, ITC Infotech Hyderabad, ITC Infotech Mumbai, ITC Infotech India Company Profile,
Tally Solutions Company profile, Tally Solutions New Company Profile, Tally Solutions  Profile 2012, Tally Solutions Software company profile, Tally Solutions India, Top IT Company Tally Solutions Profile, Details About Tally Solutions, Tally Solutions  Chennai, Tally Solutions Bangalore, Tally Solutions Pune, Tally Solutions Hyderabad, Tally Solutions Mumbai, Tally Solutions India Company Profile,
BirlaSoft Company profile, BirlaSoft New Company Profile, BirlaSoft  Profile 2012, BirlaSoft Software company profile, BirlaSoft India, Top IT Company BirlaSoft Profile, Details About BirlaSoft, BirlaSoft  Chennai, BirlaSoft Bangalore, BirlaSoft Pune, BirlaSoft Hyderabad, BirlaSoft Mumbai, BirlaSoft India Company Profile,



SRM Technologies Company profile, SRM Technologies New Company Profile, SRM Technologies  Profile 2012, SRM Technologies Software company profile, SRM Technologies India, Top IT Company SRM Technologies Profile, Details About SRM Technologies, SRM Technologies  Chennai, SRM Technologies Bangalore, SRM Technologies Pune, SRM Technologies Hyderabad, SRM Technologies Mumbai, SRM Technologies India Company Profile,


TIBCO Software Company profile, TIBCO Software New Company Profile, TIBCO Software  Profile 2012, TIBCO Software Software company profile, TIBCO Software India, Top IT Company TIBCO Software Profile, Details About TIBCO Software, TIBCO Software  Chennai, TIBCO Software Bangalore, TIBCO Software Pune, TIBCO Software Hyderabad, TIBCO Software Mumbai, TIBCO Software India Company Profile,
Capgemini Company profile, Capgemini New Company Profile, Capgemini  Profile 2012, Capgemini Software company profile, Capgemini India, Top IT Company Capgemini Profile, Details About Capgemini, Capgemini  Chennai, Capgemini Bangalore, Capgemini Pune, Capgemini Hyderabad, Capgemini Mumbai, Capgemini India Company Profile,
Ebay Paypal Company profile, Ebay Paypal New Company Profile, Ebay Paypal  Profile 2012, Ebay Paypal Software company profile, Ebay Paypal India, Top IT Company Ebay Paypal Profile, Details About Ebay Paypal, Ebay Paypal  Chennai, Ebay Paypal Bangalore, Ebay Paypal Pune, Ebay Paypal Hyderabad, Ebay Paypal Mumbai, Ebay Paypal India Company Profile,
Syntel Company profile, Syntel New Company Profile, Syntel  Profile 2012, Syntel Software company profile, Syntel India, Top IT Company Syntel Profile, Details About Syntel, Syntel  Chennai, Syntel Bangalore, Syntel Pune, Syntel Hyderabad, Syntel Mumbai, Syntel India Company Profile,
 Virtusa Company profile, Virtusa New Company Profile, Virtusa  Profile 2012, Virtusa Software company profile, Virtusa India, Top IT Company Virtusa Profile, Details About Virtusa, Virtusa  Chennai, Virtusa Bangalore, Virtusa Pune, Virtusa Hyderabad, Virtusa Mumbai, Virtusa India Company Profile,
Cisco Systems India Company profile, Cisco Systems India New Company Profile, Cisco Systems India  Profile 2012, Cisco Systems India Software company profile, Cisco Systems India India, Top IT Company Cisco Systems India Profile, Details About Cisco Systems India, Cisco Systems India  Chennai, Cisco Systems India Bangalore, Cisco Systems India Pune, Cisco Systems India Hyderabad, Cisco Systems India Mumbai, Cisco Systems India India Company Profile,
Intel India Company profile, Intel India New Company Profile, Intel India  Profile 2012, Intel India Software company profile, Intel India India, Top IT Company Intel India Profile, Details About Intel India, Intel India  Chennai, Intel India Bangalore, Intel India Pune, Intel India Hyderabad, Intel India Mumbai, Intel India India Company Profile,
SAP India Company profile, SAP India New Company Profile, SAP India  Profile 2012, SAP India Software company profile, SAP India India, Top IT Company SAP India Profile, Details About SAP India, SAP India  Chennai, SAP India Bangalore, SAP India Pune, SAP India Hyderabad, SAP India Mumbai, SAP India India Company Profile,
3i Infotech Company profile, 3i Infotech New Company Profile, 3i Infotech  Profile 2012, 3i Infotech Software company profile, 3i Infotech India, Top IT Company 3i Infotech Profile, Details About 3i Infotech, 3i Infotech  Chennai, 3i Infotech Bangalore, 3i Infotech Pune, 3i Infotech Hyderabad, 3i Infotech Mumbai, 3i Infotech India Company Profile,

Career Registration Links for Top IT companies in india

Hello Jobseekers, Do Upload Your Resume And Ask Our Friends Too...
Use below links to register and upload your resume for Assenture, CTS, HCL, HP (Hewlett-Packard), IBM,  Infosys,  L&T infotech,  Mahendira satyam,  Microsoft, Oracle,  TCS,  Tech Mahindira, Wipro.
final year students, and others can also register your profile and submit your Resume through the given links.





        Accenture Registration Link:


·         CTS Registration Link :


·         HCL Registration Link :


·         HP Online Registration Link :


·         IBM Registration Link :


·         Infosys Registration Link :


·         L&T Infotech Registration Link :


·         Mahindra Satyam Registration Link :


·         Microsoft Registration Link :


·         Oracle Registration Link :

           
·         Tech Mahindra Registration Link :


·         TCS Registration Link :

      

·         Wipro Registration Link :


·         Wipro WASE Registration Link :( Only For BCA, BCM and BSc Final Year Students)

                  http://careers.wipro.com/it/campus/india/wase.htm


 This is small list only. we will upload other companies registration links soon.
if you know other companies registration links please specify in comments.. we will upload soon.

C Programming Interview Question Paper part One

Note : All the programs are tested under Turbo C/C++ compilers.
It is assumed that,
_ Programs run under DOS environment,
_ The underlying machine is an x86 system,
_ Program is compiled using Turbo C/C++ compiler.
The program output may depend on the information based on this
assumptions (for example sizeof(int) == 2 may be assumed).


                                                 
1
2
3
4
5
6
7

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

1. void main()
{
int const * p=5;
printf("%d",++(*p));
}
Answer:
Compiler error: Cannot modify a constant value.
Explanation:
p is a pointer to a "constant integer". But we tried to change the
value of the "constant integer".


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]);
}

Answer:
mmmm
aaaa
nnnn
Explanation:
s[i], *(i+s), *(s+i), i[s] are all different ways of expressing the
same idea. Generally array name is the base address for that array. Here s is the base address. i is the index number/displacement from the base address. So,indirecting it with * is same as s[i]. i[s] may be surprising. But in the case of Cit is same as s[i].


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

Answer:

I hate U

Explanation:
For floating point numbers (float, double, long double) the values cannot be predicted exactly. Depending on the number of bytes, the precession with of the value represented varies. Float takes 4 bytes and long double takes 10 bytes. So float stores 0.9 with less precision than long double.

Rule of Thumb:
Never compare or at-least be cautious when using floating point
numbers with relational operators (== , >, <, <=, >=,!= ) .

4. main()
{
static int var = 5;
printf("%d ",var--);
if(var)
main();
}
Answer:
5 4 3 2 1
Explanation:
When static storage class is given, it is initialized once. The change
in the value of a static variable is retained even between the function calls. Main is also treated like any other ordinary function, which can be called recursively.

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; }
}
Answer:
2 2 2 2 2 2 3 4 6 5
Explanation:
Initially pointer c is assigned to both p and q. In the first loop, since only q is incremented and not c , the value 2 will be printed 5 times. In second loop p itself is incremented. So the values 2 3 4 6 5 will be printed.

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

Answer:
Linker Error : Undefined symbol '_i'
Explanation:
extern storage class in the following declaration,
extern int i;
specifies to the compiler that the memory for i is allocated in some other program and that address will be given to the current program at the time of linking. But linker finds that no other variable of name i is available in any other program with memory space allocated for it. Hence a linker error has occurred .

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);
}

Answer:
0 0 1 3 1
Explanation :
Logical operations always give a result of 1 or 0 . And also the
logical AND (&&) operator has higher priority over the logical OR (||) operator. So the expression ‘i++ && j++ && k++’ is executed first. The result of this expression is 0 (-1 && -1 && 0 = 0). Now the expression is 0 || 2 which Evaluates to 1 (because OR operator always gives 1 except for ‘0 || 0’ combination- for which it gives 0). So the value of m is 1. The values of other variables are also incremented by 1.

8. main()
{
char *p;
printf("%d %d ",sizeof(*p),sizeof(p));
}
Answer:
1 2
Explanation:
The sizeof() operator gives the number of bytes taken by its
operand. P is a character pointer, which needs one byte for storing its value (a character). Hence sizeof(*p) gives a value of 1. Since it needs two bytes to store the address of the character pointer sizeof(p) gives 2.

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;
}
}

Answer :
three

Explanation :
The default case can be placed anywhere inside the loop. It is
executed only when all other cases doesn't match.

10. main()
{
printf("%x",-1<<4);
}
Answer:
fff0
Explanation :
-1 is internally represented as all 1's. When left shifted four times
the least significant 4 bits are filled with 0's.The %x format specifier specifies that the integer value be printed as a hexadecimal value.

11. main()
{
char string[]="Hello World";
display(string);
}
void display(char *string)
{
printf("%s",string);
}

Answer:
Compiler Error : Type mismatch in redeclaration of function display
Explanation :
In third line, when the function display is encountered, the
compiler doesn't know anything about the function display. It assumes the
arguments and return types to be integers, (which is the default type). When it sees the actual function display, the arguments and type contradicts with what it has assumed previously. Hence a compile time error occurs.


12. main()
{
int c=- -2;
printf("c=%d",c);
}
Answer:
c=2;
Explanation:
Here unary minus (or negation) operator is used twice. Same
maths rules applies, ie. minus * minus= plus.
Note:
          However you cannot give like --2. Because -- operator can only be
applied to variables as a decrement operator (eg., i--). 2 is a constant and not a variable.


13. #define int char
main()
{
int i=65;
printf("sizeof(i)=%d",sizeof(i));
}

Answer:
sizeof(i)=1
Explanation:
Since the #define replaces the string int by the macro char


14. main()
{
int i=10;
i=!i>14;
Printf ("i=%d",i);
}

Answer:
i=0
Explanation:
In the expression !i>14 , NOT (!) operator has more precedence
than ‘ >’ symbol. ! is a unary logical operator. !i (!10) is 0 (not of true is false). 0>14 is false (zero).


15. #include<stdio.h>
main()
{
char s[]={'a','b','c','\n','c','\0'};
char *p,*str,*str1;
p=&s[3];
str=p;
str1=s;
printf("%d",++*p + ++*str1-32);
}

Answer:
77
Explanation:
p is pointing to character '\n'. str1 is pointing to character 'a' ++*p. "p is pointing to '\n' and that is incremented by one."
the ASCII value of '\n' is 10,
which is then incremented to 11.
The value of ++*p is 11.
++*str1, str1 is pointing to 'a' that is incremented by 1 and it becomes 'b'.
 ASCII value of 'b' is 98.
Now performing (11 + 98 – 32), we get 77("M");
So we get the output 77 :: "M" (Ascii is 77).


Popular Posts in this Weak