C4Swimmers Newsletter  

Online Test & Contest

Online Test & Contest INFORMATON

(CONTEST) Intel Atom Developer Program

Intel Atom Developer Program

If you're interested in developing or porting your C/C++ applications and components into our Intel® AppUpSM Center for profit, you’ll definitely want to sign up for this free instructional session and hands-on lab. Network with other developers focused on this exciting new program from Intel.

Learn how to use our Intel® AppUpSM Center Windows & Moblin C/C++ SDKs, see how the validation and packaging process works, learn how to submit your application into our catalog, and much more. Bring your app code to our on-site lab staffed with Intel experts will be available to provide answers to any questions you may have.


Event Details
Date: 26th June, 2010
Time: 9:30 am - 5:00 pm
Venue: Taj Residency, Trinity Circle, Bangalore

Register Online: http://www.intelapplab.com/register.php

for More Details visit: http://www.intelapplab.com

Courtesy: INTEL India.

(Test) C Language Objective Type Questions Page 4

Test : C Language Objective Type Questions Page 4

(Test) C Language Objective Type Questions Page 3

Test : C Language Objective Type Questions Page 3

(Test) C Language Objective Type Questions Page 2

Test : C Language Objective Type Questions Page 2

Question 26
Code:
int x = 3; 
if( x == 2 );
  x = 0; 
if( x == 3 )
 x++; 
else x += 2;
What value will x contain when the sample code above is executed?
1) 1
2) 2[Ans]
3) 3
4) 4
5) 5

Question 27
Code:

(Test) C Language Objective Type Questions Page 1

Test : C Language Objective Type Questions Page 1

Job Opening: QA Manager - Software Testing

Dear c4swimmers,

We have some urgent requirements with our Client in India.

About Client: It’s a Fortune 25 top Software MNC with Multiple offices across USA, UK and India.
Current open requirements are for INDIA office.

If you feel you are fitting to any of position below send your updated resume, and contact details to swiftsol.consultant@gmail.com

Position: Manager – Quality Engineering

Job Experience: 8 - 15 yrs in software QE
Job Function: Lead Quality Assurance Team
Location: Northern Part of India

IIIT Hyderabad Online Programming Contest : CodeCraft 2007 on Feb 21st

Hello Programmer,

The International Institute of Information Technology, Hyderabad, India cordially invites you to be a part of Felicity, the annual cultural and technical festival, to be held from 23rd - 25th February,2007.

CodeCraft 2007, the online programming competition is all set to start on 21st February,2007. Six hours of brainstorming over some of the toughest algorithms
challenges from various fields of Computer Science, CodeCraft is The battle of the geeks.

Date : 21st February, 2007
Time : 1800 hrs IST ( GMT +5:30 ) - Registration closes at 1400 hrs IST

(Puzzles) Interesting C Programing Problems

Interesting C Programing Problems (Level- Intermediate to Advance)


The following C program segfaults of IA-64, but works fine on IA-32.
1  int main()
2  {
3      int* p;
4      p = (int*)malloc(sizeof(int));
5      *p = 10;
6      return 0;
7  }
Why does it happen so?
The expected output of the following C program is to print the elements in the array. But when actually run, it doesn't do so.
 1  #include<stdio.h>
 2
 3  #define TOTAL_ELEMENTS (sizeof(array) / sizeof(array[0]))
 4  int array[] = {23,34,12,17,204,99,16};
 5
 6  int main()
 7  {
 8      int d;
 9
10      for(d=-1;d <= (TOTAL_ELEMENTS-2);d++)
11          printf("%d\n",array[d+1]);
12
13      return 0;
14  }
Find out what's going wrong.
The following program doesn't "seem" to print "hello-out". (Try executing it)
 1  #include <stdio.h>
 2  #include <unistd.h>
 3  int main()
 4  {
 5          while(1)
 6          {
 7                  fprintf(stdout,"hello-out");
 8                  fprintf(stderr,"hello-err");
 9                  sleep(1);
10          }
11          return 0;
12  }
What could be the reason?
 1  #include <stdio.h>
 2  #define f(a,b) a##b
 3  #define g(a)   #a
 4  #define h(a) g(a)
 5
 6  int main()
 7  {
 8          printf("%s\n",h(f(1,2)));
 9          printf("%s\n",g(f(1,2)));
10          return 0;
11  }
Just by looking at the program one "might" expect the output to be, the same for both the printf statements. But on running the program you get it as:

(FREE BOOK) Free AJAX Book @ Sun Developer Network

(FREE BOOK) Free AJAX Book @ Sun Developer Network



http://sunevents.idealake.com/registration.jsp


join SDN now!


http://developers.sun.com/index.html

(MONTHLY CONTEST) Register & You Can WIN a BOOK Every Month

Monthly Contest - Register, Participate & You Can WIN a Book Every Month

Visit [ http://www.c4swimmers.net/forum/viewtopic.php?t=25 ] for more information.

(TEST / QUIZ) A 'C' Test : The 0x10 Best Questions for Would-be Embedded Programmers

nt face="Verdana, Georgia, Arial, Sans-Serif" size="2">

A 'C' Test: The 0x10 Best Questions for Would-be Embedded Programmers

Nigel Jones

Pencils up, everyone. Here's a test to identify potential embedded programmers or embedded programmers with potential

(TIPS & TRICKS) C++ Pitfalls, by: Cay S. Horstmann

C++ Pitfalls, by: Cay S. Horstmann

C++ Pitfalls with Source Code EXAMPLES

What is a pitfall?
Constructor pitfalls
Destructor pitfalls
Stream pitfalls
Overloading pitfalls
Exception pitfalls
Container pitfalls


Click on the link to see the Article...

Courtesy:
http://www.horstmann.com/cpp/pitfalls.html

Syndicate content