Search
Main Menu
Login
Username:

Password:

Remember me



Lost Password?

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

Members: 0
Guests: 4

more...

Category: Interview Q&A


| Jun 25, 2016

If we have the following in a Java code:

String s="abc";
String s2="abc";


Then what will be output of:

System.out.println("s.equals(s2) = "+s.equals(s2));
System.out.println("s==s2 = "+(s==s2)); - Rank: 11712 - Votes: 94 - Views: 8863 - Updated: 2016-06-26


| 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




Copyright (c) FYIcenter.com