Fresher

Fresher Resources

Demonstration of using variable number of arguments

Demonstration of using Variable number of argument

#include 
#include 
main()
{
	int add( int nint, ... );
	printf ("Sum of 4 numbers is %d", add( 4, 1,2,3,4) );
	printf ("Sum of 2 numbers is %d", add( 2, 10, -2 ));
}
int add ( int nint, ... )
{
	va_list va;
	int total = 0 ;
	va = va_start (nint );
	while ( nint-- )
		total += va_next ( va, int ) ;
	va_end (va );
	return total ;
}

To print the full range of escape characters

#include 
main()
{
	int i = 97 ;
	for (  ; i < 123 ; i++ )
		printf(" \\%c", i  );
}

Code contributed by : Pradeep SP
pradeepcse23@gmail.com

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

(LINKS) C, C++ Tutorials, FAQs, and Helpful Articles.

(LINKS) C, C++ Tutorials, FAQs, and Helpful Articles.

Syndicate content