Search
Main Menu
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Who's Online
17 user(s) are online (4 user(s) are browsing Jobs & News)

Members: 0
Guests: 17

more...

Category: Interview Q&A


| Jun 25, 2016

How To Retrieve Input Values for Checkboxes Properly? - PHP Script Tips - Processing Web Forms - Rank: 10829 - Votes: 10 - Views: 7364 - Updated: 2016-06-26


| Jun 24, 2016

How to create a thread in a program? - Rank: 429924 - Votes: 57246 - Views: 370131 - Updated: 2016-06-25


| Jun 24, 2016

interview.FYIcenter.com offers a collections of interview questions and answers for software and Web developers. - Rank: 7408 - Votes: -8 - Views: 3681 - Updated: 2016-06-25


| Jun 24, 2016

How many JSP scripting elements and what are they? - Rank: 2105 - Votes: 5 - Views: 874 - Updated: 2016-06-25


| Jun 24, 2016

What Are the Differences between CHAR and NCHAR? - Oracle DBA FAQ - Understanding SQL Basics - Rank: 4463 - Votes: 0 - Views: 1014 - Updated: 2016-06-25


| Jun 20, 2016

I see code like

char *p = malloc(strlen(s) + 1);
strcpy(p, s);

Shouldn't that be malloc((strlen(s) + 1) * sizeof(char))? - Rank: 471 - Votes: 0 - Views: 368 - Updated: 2016-06-21


| Jun 20, 2016

In a call to malloc, what does an error like ``Cannot convert `void *' to `int *''' mean? - Rank: 511 - Votes: 0 - Views: 407 - Updated: 2016-06-21


| Jun 09, 2016

I'm trying to declare a pointer and allocate some space for it, but it's not working. What's wrong with this code?

char *p;
*p = malloc(10); - Rank: 686 - Votes: 0 - Views: 576 - Updated: 2016-06-10


| Jun 09, 2016

I wrote a little wrapper around malloc, but it doesn't work:

#include lt;stdio.h>
#include lt;stdlib.h>

mymalloc(void *retp, size_t size)
{
retp = malloc(size);
if(retp == NULL) {
fprintf(stderr, "out of memory\n");
exit(EXIT_FAILURE);
}
} - Rank: 522 - Votes: 0 - Views: 413 - Updated: 2016-06-10


| Jun 02, 2016

How can I shut off the ``warning: possible pointer alignment problem'' message which lint gives me for each call to malloc? - Rank: 514 - Votes: 0 - Views: 398 - Updated: 2016-06-03




Copyright (c) FYIcenter.com